Problems
525 - Array??? II
SUBMIT PROBLEM

Array??? II

Time Limit: 1 sec

 

The Problem

Array is like drawers where we can keep numbers, strings etc.

In this problem your simple task is to print the numbers of an array in a reverse way.

 

The Input

The Input file contains several cases. Each case contains two lines. First line contains an integer value N (0<N <= 1000). Second line contains N integer numbers separated by a space. All integer numbers range is in between 0 to 1000.

 

The Output

The Output will print the numbers in a separate line.

 

Sample Input

5

1 2 3 4 5

3

1 2 3

 

Sample Output

5

4

3

2

1

3

2

1

 

 

 

 

Problem Setter: Samia Safa Ahmed