Drop links or images here to add them to the editor.

Reverse Array ⭐

Read an integer N. This number indicates how many values the array will have.

Then, read N integers (one per line) and store them in an array.

Finally, display the numbers in reverse order (from last to first).

Instructions:

Input

An integer N, followed by N integers, one per line.

Output

Print the N numbers in reverse order, one per line.

Example

Input:

5
3
7
1
9
5

Output:

5
9
1
7
3