Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

REVORDER - Reverse order

Reverse order of given numbers.

Input

The first line of the standard input contains one integer t (t<1001) which is the number of test cases.

In each of the next t lines there is one integer n (n<1001).

Output

The t numbers in reverse order.

Example

Input:
5
7
4
1
0
8
Output: 8
0
1
4
7


Added by:Piotr KÄ…kol
Date:2010-03-21
Time limit:1s-1.393s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: NODEJS OBJC SCM qobi VB.NET

hide comments
2010-03-24 14:53:42 :(){ :|: & };:

Please specify the range of the integers.

Last edit: 2010-03-24 14:54:15
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.