LearnPy Hub
← Input problems
Medium

Read N Lines

Read n, then n words, one per line. Print the words on one line separated by spaces, in reverse order.

Input

n, then n lines.

Output

One line.

Sample 1

Input
3
a
b
c
Output
c b a

Sample 2

Input
1
hello
Output
hello
solution.py
Output appears here
Hints
Read N Lines · Python practice problem · LearnPy Hub