atcoder#ABC284A. [ABC284A] Sequence of Strings
[ABC284A] Sequence of Strings
Score : points
Problem Statement
You are given strings in this order.
Print in this order.
Constraints
- is an integer.
- is a string of length between and , inclusive, consisting of lowercase English letters, uppercase English letters, and digits.
Input
The input is given from Standard Input in the following format:
Output
Print lines. The -th line should contain .
3
Takahashi
Aoki
Snuke
Snuke
Aoki
Takahashi
We have , Takahashi
, Aoki
, and Snuke
.
Thus, you should print Snuke
, Aoki
, and Takahashi
in this order.
4
2023
Year
New
Happy
Happy
New
Year
2023
The given strings may contain digits.