1138: 序列倒置

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:35 Solved:25

Description

给定一个正整数序列,请将这个序列倒置后输出

Input

输入包括两行,第一行输入一个数n表示数组的个数 第二行,即给定的正整数序列,正整数之间用空格隔开

Output

包括一行:即倒置后的序列。

Sample Input Copy

4
3 7 2 1

Sample Output Copy

1 2 7 3