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

Week 5: December 7 - 13. Integer arrays. Part 2

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