-14. Print the Sequence Backward

I'm a slow walker, but I never walk backwards.

題目來源:judgegirl from ntu prof. pangfeng Liu

Task Description

Write a program to read a positive integer and a sequence of intergers, then print the sequence reversely.

Limits

is no more than .

Input Format

There are two lines in the input. The first line has the integer . The line has integers.

Output Format

There are one lines in the output, according to the description.

Sample Input

5
1 4 8 9 10

Sample Output

10 9 8 4 1

特別注意

  • 若在行尾輸出 多餘的空白字元,你將會得到 Wrong Answer

Submit

Login

Testdata Set

Download Testdata