e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 9: January 11 - 17. Pointers. References

Invertor

Given n integers. Print them in reverse order.

Input

First given number n (0 < n < 100), then given n integers.

Output

Print the given n integers in reverse order.

Time limit 1 second
Memory limit 128 MiB
Input example #1
7
2 4 1 3 5 3 1
Output example #1
1 3 5 3 1 4 2
Source Китёнок 2011 г. Ковров