# Problem A

Reverse

Little Jóna needs a program. The program should read integers and print them in reverse order. Jóna asks for your help.

## Input

The first line of input contains the integer $n$. Then comes a list of $n$ integers, each on its own line.

## Output

The list should be printed in reverse order of input.

## Points

Group |
Points |
Input size |

$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 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 |