2019 - 【入门】数组逆序

给你m个整数,将其逆序输出。

Input

第一行一个整数m(3 <= m <= 100 ):数的个数 第二行m个整数(空格隔开)(这些数在0-10^6之间)。

Output

m个整数(空格隔开)。

Examples

Input

3
1 7 5

Output

5 7 1

Source

数组问题

Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题