Write a program that reads the input elements and outputs them in the reverse order.
The first string contains the number of elements. Each line followed the first one contains an element.
Write a program that reads the input elements and outputs them in the reverse order.
Sample Input 1:
3
1
2
3Sample Output 1:
3
2
1Create a free account to access the full topic