#CCBCHBAHAI0000025. Öfugsnúið
Öfugsnúið
Öfugsnúið
Source: Kattis
Version: Phuoc Hung OJ Extended
Problem
Jóna needs a program that reads integers and prints them in the opposite order.
Given
with one value on each output line.
Input
The first line contains integer . The next lines contain one integer each; line among them contains .
Output
Print lines; output line contains .
Subtasks
Subtask 1 (25 points): ; .
Subtask 2 (25 points): ; .
Subtask 3 (25 points): ; .
Subtask 4 (25 points): ; .
Example
Input
5
1
2
3
4
5
Output
5
4
3
2
1
Explanation
The values are printed from the final element back to the first element .