input()dane=input().split()print(*dane[2::3][::-1])
7 2 2 5 1 1 3 4
3 5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!