import java.util.Scanner;
import java.util.Stack;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
Stack<Integer> stack = new Stack<>();
while (n-- > 0) {
stack.push(sc.nextInt());
}
while (!stack.isEmpty()) {
System.out.print(stack.pop() + " ");
}
}
}

京公网安备 11010502036488号