#Pr151. Reverse
Reverse
Statement
Given pieces of data, please output these data in reverse order according to the input sequence;
Input
The first line gives an integer representing the number of digits;
The second line contains integers separated by spaces, where . Each integer represents a number, and they should be output in reverse order.
Output
Output these data in reverse order.
Samples
3
3 4 5
5 4 3
5
3 4 10 7 8
8 7 10 4 3