Invertire la lista

Dato n stringhe, ti viene chiesto di stamparle in ordine inverso.

La prima riga dell'input contiene un singolo intero n. Le successive n righe contengono i n testi.

Il programma dovrebbe stampare quelle stringhe in ordine inverso.

Input

Output

8
Hi!
My name is
What?
My name is
Who?
My name is
Chika-chika
Slim Shady

Slim Shady
Chika-chika
My name is
Who?
My name is
What?
My name is
Hi!

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue