eolymp
bolt
Try our new interface for solving problems
Problems

Reverse

Reverse

Reverse the array of numbers.

Input

The first line contains the amount of numbers n (1n900). Each of the next n lines contains one number. All numbers are integers not greater than 105 by absolute value.

Output

Print n integers in one line – the reversed array.

Time limit 1 second
Memory limit 128 MiB
Input example #1
4
92846
96841
33582
25998
Output example #1
25998 33582 96841 92846