# Problem D

Ö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 $n$. Then there is a list of $n$ integers, each on their own line. Each integer will be between $0$ and $10^9$.

## Output

Print the list in the reverse order compared to the input.

## Scoring

Group |
Points |
Constraints |

1 |
25 |
$n = 1$ |

2 |
25 |
$1 \leq n \leq 5 $ |

3 |
25 |
$1 \leq n \leq 10^{3} $ |

4 |
25 |
$1 \leq n \leq 2 \cdot 10^{5} $ |

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 |