eolymp
bolt
Try our new interface for solving problems
Problems

Print array 2

Print array 2

Time limit 1 second
Memory limit 128 MiB

Array of n integers is given. Print all its elements in one row, reversing the original order.

Input data

First line contains number n (1n100). Next n lines contains the array elements (one integer in each line), each no more than 100 by absolute value.

Output data

Print the elements of array in one line in reverse order.

Examples

Input example #1
7
0
4
7
-4
0
3
-2
Output example #1
-2 3 0 -4 7 4 0
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"