fork download
  1. input()
  2. dane=input().split()
  3. print(*dane[2::3][::-1])
Success #stdin #stdout 0.02s 9108KB
stdin
7
2 2 5 1 1 3 4
stdout
3 5