#Pr151. Reverse

Reverse

Statement

Given nn pieces of data, please output these data in reverse order according to the input sequence;

Input

The first line gives an integer n(1<n105)n(1<n\leq 10^5) representing the number of digits;

The second line contains nn integers aia_i separated by spaces, where 1<ai1091 < a_i \leq 10^9. 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