Start

2017-03-18 02:00 AKDT

Delta 2017

End

2017-03-18 08:00 AKDT
The end is near!
Contest is over.
Not yet started.
Contest is starting in -1493 days 8:04:44

Time elapsed

6:00:00

Time remaining

0:00:00

Problem A
Reverse

Little Jóna needs a program. The program should read integers and print them in reverse order. Jóna asks for your help.

Input

The first line of input contains the integer $n$. Then comes a list of $n$ integers, each on its own line.

Output

The list should be printed in reverse order of input.

Points

Group

Points

Input size

$1$

$25$

$n = 1$

$2$

$25$

$1 \leq n \leq 5 $

$3$

$25$

$1 \leq n \leq 10^{3} $

$4$

$25$

$1 \leq n \leq 10^{5} $

Sample Input 1 Sample Output 1
5
1
2
3
4
5
5
4
3
2
1
Sample Input 2 Sample Output 2
3
10
12
9
9
12
10