Description

下周開始的題目就會出現陣列囉,大家來嘗試使用看看吧。

請撰寫一個程式,讓使用者輸入一個陣列大小�n,並且輸入一串數列後倒過來印出。

The array will appear in the questions starting next week. Let’s try it out and see.

Please write a program that allows the user to input an array size �n, input a sequence of numbers and then print it out in reverse.

Input

輸入包含兩行:

第一行為一個正整數�n

第二行有�n個正整數�m,代表使用者輸入的數列。

The input contains two lines:

The first line is a positive integer �n.

The second line has �n positive integers �m, representing the sequence entered by the user.

Output

請將數列反過來印出。

Please print the sequence in reverse.

Sample Input 1

14
94 79 82 59 5 34 43 87 68 78 20 53 16 42

Sample Output 1

42 16 53 20 78 68 87 43 34 5 59 82 79 94

Sample Input 2