Problem9182--ABC284 —— A - Sequence of Strings

9182: ABC284 —— A - Sequence of Strings

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

You are given $N$ strings $S_1,S_2,\ldots,S_N$ in this order.

Print $S_N,S_{N-1},\ldots,S_1$ in this order.

Input

The input is given from Standard Input in the following format:

```
$N$
$S_1$
$S_2$
$\vdots$
$S_N$
```

Output

Print $N$ lines. The $i$\-th $(1\leq i \leq N)$ line should contain $S_{N+1-i}$.

Constraints

-   $1\leq N \leq 10$
-   $N$ is an integer.
-   $S_i$ is a string of length between $1$ and $10$, inclusive, consisting of lowercase English letters, uppercase English letters, and digits.

Sample 1 Input

3
Takahashi
Aoki
Snuke

Sample 1 Output

Snuke
Aoki
Takahashi
We have N=3, S1= Takahashi, S2= Aoki, and S3= Snuke.
Thus, you should print Snuke, Aoki, and Takahashi in this order.

Sample 2 Input

4
2023
Year
New
Happy

Sample 2 Output

Happy
New
Year
2023
The given strings may contain digits.

Source/Category