1007: 数组元素逆序输出

Memory Limit:32 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:97 Solved:63

Description

输入n个数,要求将n个数字逆序之后输出。

Input

第一个n,表示元素的个数。
第二行:n个整数,数值之间用一个空格隔开。

Output

逆序后的结果,相邻数据之间用一个空格隔开,行末不要出现多余的空格。

Sample Input Copy

10
1 2 3 4 5 6 7 8 9 10

Sample Output Copy

10 9 8 7 6 5 4 3 2 1

HINT

n<1000,每个数据元素都属于int;