Problem I: Array - Reversing Numbers

"
Time Limit $1$ 秒/Second(s) Memory Limit $512$ 兆字节/Megabyte(s)
提交总数 $1006$ 正确数量 $512$
裁判形式 标准裁判/Standard Judge 我的状态 尚未尝试
难度 分类标签 STL

Reversing Numbers 

Write a program which reads a sequence and prints it in the reverse order.

The input is given in the following format: 

a1 a2 . . . an 

n is the size of the sequence and ai is the ith element of the sequence.

Print the reversed sequence in a line. Print a single space character between adjacent elements (Note that your program should not put a space character after the last element).
5
1 2 3 4 5
5 4 3 2 1

n ≤ 100 

0 ≤ ai < 1000