Hide
Problem A
Öfugsnúið
Languages
en
is
ja
Jóna needs a program. The program should read in integers and print them in reverse order. Jóna asks for your help.
Input
The first line contains the integer
Output
Print the list in the reverse order compared to the input.
Scoring
Group |
Points |
Constraints |
1 |
25 |
|
2 |
25 |
|
3 |
25 |
|
4 |
25 |
|
Sample Input 1 | Sample Output 1 |
---|---|
5 1 2 3 4 5 |
5 4 3 2 1 |
Sample Input 2 | Sample Output 2 |
---|---|
3 10 12 9 |
9 12 10 |