import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int length = scanner.nextInt();
		int[] list = new int[length];

		for (int i = 0; i < length; i++)
			list[i] = scanner.nextInt();

		for (int i = length - 1; i >= 0; i--)
			System.out.print(list[i % length] + (i > 0 ? " " : ""));

		System.out.println();
	}
} import java.util.Scanner; Scanner java.util class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int length = scanner.nextInt();
		int[] list = new int[length];

		for (int i = 0; i < length; i++)
			list[i] = scanner.nextInt();

		for (int i = length - 1; i >= 0; i--)
			System.out.print(list[i % length] + (i > 0 ? " " : ""));

		System.out.println();
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int length = scanner.nextInt();
		int[] list = new int[length];

		for (int i = 0; i < length; i++)
			list[i] = scanner.nextInt();

		for (int i = length - 1; i >= 0; i--)
			System.out.print(list[i % length] + (i > 0 ? " " : ""));

		System.out.println();
	} main {
		Scanner scanner = new Scanner(System.in);
		int length = scanner.nextInt();
		int[] list = new int[length];

		for (int i = 0; i < length; i++)
			list[i] = scanner.nextInt();

		for (int i = length - 1; i >= 0; i--)
			System.out.print(list[i % length] + (i > 0 ? " " : ""));

		System.out.println();
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int length = scanner.nextInt(); length scanner.nextInt() scanner.nextInt scanner int[] list = new int[length]; list new int[length] length for (int i = 0; i < length; i++)
			list[i] = scanner.nextInt(); int i = 0; int i = 0; i 0 i < length i length i++ i++ i list[i] = scanner.nextInt(); list[i] = scanner.nextInt() list[i] list i scanner.nextInt() scanner.nextInt scanner for (int i = length - 1; i >= 0; i--)
			System.out.print(list[i % length] + (i > 0 ? " " : "")); int i = length - 1; int i = length - 1; i length - 1 length 1 i >= 0 i 0 i-- i-- i System.out.print(list[i % length] + (i > 0 ? " " : "")); System.out.print(list[i % length] + (i > 0 ? " " : "")) System.out.print System.out System System.out list[i % length] + (i > 0 ? " " : "") list[i % length] list i % length i length (i > 0 ? " " : "") i > 0 i 0 " " "" System.out.println() System.out.println System.out System System.out String[] args args
import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int length = scanner.nextInt();
		int[] list = new int[length];

		for (int i = 0; i < length; i++)
			list[i] = scanner.nextInt();

		for (int i = length - 1; i >= 0; i--)
			System.out.print(list[i % length] + (i > 0 ? " " : ""));

		System.out.println();
	}
}