import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = 0;
		int A = sc.nextInt();
		int[] arrayInt = new int[A];

		for(int i = 0; i < A; i++) {
			int Num = sc.nextInt();
			arrayInt[i] = Num;
		}

		for(int j = A-1; 0 < j; j--) {
			System.out.print(arrayInt[j]+" ");
		}
		System.out.println(arrayInt[0]);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = 0;
		int A = sc.nextInt();
		int[] arrayInt = new int[A];

		for(int i = 0; i < A; i++) {
			int Num = sc.nextInt();
			arrayInt[i] = Num;
		}

		for(int j = A-1; 0 < j; j--) {
			System.out.print(arrayInt[j]+" ");
		}
		System.out.println(arrayInt[0]);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = 0;
		int A = sc.nextInt();
		int[] arrayInt = new int[A];

		for(int i = 0; i < A; i++) {
			int Num = sc.nextInt();
			arrayInt[i] = Num;
		}

		for(int j = A-1; 0 < j; j--) {
			System.out.print(arrayInt[j]+" ");
		}
		System.out.println(arrayInt[0]);
	} main {
		Scanner sc = new Scanner(System.in);
		int x = 0;
		int A = sc.nextInt();
		int[] arrayInt = new int[A];

		for(int i = 0; i < A; i++) {
			int Num = sc.nextInt();
			arrayInt[i] = Num;
		}

		for(int j = A-1; 0 < j; j--) {
			System.out.print(arrayInt[j]+" ");
		}
		System.out.println(arrayInt[0]);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = 0; x 0 int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int[] arrayInt = new int[A]; arrayInt new int[A] A for(int i = 0; i < A; i++) {
			int Num = sc.nextInt();
			arrayInt[i] = Num;
		} int i = 0; int i = 0; i 0 i < A i A i++ i++ i {
			int Num = sc.nextInt();
			arrayInt[i] = Num;
		} {
			int Num = sc.nextInt();
			arrayInt[i] = Num;
		} int Num = sc.nextInt(); Num sc.nextInt() sc.nextInt sc arrayInt[i] = Num arrayInt[i] arrayInt i Num for(int j = A-1; 0 < j; j--) {
			System.out.print(arrayInt[j]+" ");
		} int j = A-1; int j = A-1; j A-1 A 1 0 < j 0 j j-- j-- j {
			System.out.print(arrayInt[j]+" ");
		} {
			System.out.print(arrayInt[j]+" ");
		} System.out.print(arrayInt[j]+" ") System.out.print System.out System System.out arrayInt[j]+" " arrayInt[j] arrayInt j " " System.out.println(arrayInt[0]) System.out.println System.out System System.out arrayInt[0] arrayInt 0 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = 0;
		int A = sc.nextInt();
		int[] arrayInt = new int[A];

		for(int i = 0; i < A; i++) {
			int Num = sc.nextInt();
			arrayInt[i] = Num;
		}

		for(int j = A-1; 0 < j; j--) {
			System.out.print(arrayInt[j]+" ");
		}
		System.out.println(arrayInt[0]);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = 0;
		int A = sc.nextInt();
		int[] arrayInt = new int[A];

		for(int i = 0; i < A; i++) {
			int Num = sc.nextInt();
			arrayInt[i] = Num;
		}

		for(int j = A-1; 0 < j; j--) {
			System.out.print(arrayInt[j]+" ");
		}
		System.out.println(arrayInt[0]);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = 0;
		int A = sc.nextInt();
		int[] arrayInt = new int[A];

		for(int i = 0; i < A; i++) {
			int Num = sc.nextInt();
			arrayInt[i] = Num;
		}

		for(int j = A-1; 0 < j; j--) {
			System.out.print(arrayInt[j]+" ");
		}
		System.out.println(arrayInt[0]);
	}
}