import java.util.Scanner;

class Main {
	int[] k = new int[101];
	public void kami() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		if(n <= 100){
			for(int x = 1; x <= n; x++){
				 k[x] = sc.nextInt();
			}

			for(int i = n; i >= 2; i--){
				System.out.print(k[i] + " ");
			}
			System.out.print(k[1]);
		}
		System.out.println();
	}

	public static void main(String[] args) {

		new Main().kami();
	}

} import java.util.Scanner; Scanner java.util class Main {
	int[] k = new int[101];
	public void kami() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		if(n <= 100){
			for(int x = 1; x <= n; x++){
				 k[x] = sc.nextInt();
			}

			for(int i = n; i >= 2; i--){
				System.out.print(k[i] + " ");
			}
			System.out.print(k[1]);
		}
		System.out.println();
	}

	public static void main(String[] args) {

		new Main().kami();
	}

} Main int[] k = new int[101]; k new int[101] 101 public void kami() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		if(n <= 100){
			for(int x = 1; x <= n; x++){
				 k[x] = sc.nextInt();
			}

			for(int i = n; i >= 2; i--){
				System.out.print(k[i] + " ");
			}
			System.out.print(k[1]);
		}
		System.out.println();
	} kami {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		if(n <= 100){
			for(int x = 1; x <= n; x++){
				 k[x] = sc.nextInt();
			}

			for(int i = n; i >= 2; i--){
				System.out.print(k[i] + " ");
			}
			System.out.print(k[1]);
		}
		System.out.println();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc if(n <= 100){
			for(int x = 1; x <= n; x++){
				 k[x] = sc.nextInt();
			}

			for(int i = n; i >= 2; i--){
				System.out.print(k[i] + " ");
			}
			System.out.print(k[1]);
		} n <= 100 n 100 {
			for(int x = 1; x <= n; x++){
				 k[x] = sc.nextInt();
			}

			for(int i = n; i >= 2; i--){
				System.out.print(k[i] + " ");
			}
			System.out.print(k[1]);
		} for(int x = 1; x <= n; x++){
				 k[x] = sc.nextInt();
			} int x = 1; int x = 1; x 1 x <= n x n x++ x++ x {
				 k[x] = sc.nextInt();
			} {
				 k[x] = sc.nextInt();
			} k[x] = sc.nextInt() k[x] k x sc.nextInt() sc.nextInt sc for(int i = n; i >= 2; i--){
				System.out.print(k[i] + " ");
			} int i = n; int i = n; i n i >= 2 i 2 i-- i-- i {
				System.out.print(k[i] + " ");
			} {
				System.out.print(k[i] + " ");
			} System.out.print(k[i] + " ") System.out.print System.out System System.out k[i] + " " k[i] k i " " System.out.print(k[1]) System.out.print System.out System System.out k[1] k 1 System.out.println() System.out.println System.out System System.out public static void main(String[] args) {

		new Main().kami();
	} main {

		new Main().kami();
	} new Main().kami() new Main().kami new Main() String[] args args
import java.util.Scanner;

class Main {
	int[] k = new int[101];
	public void kami() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		if(n <= 100){
			for(int x = 1; x <= n; x++){
				 k[x] = sc.nextInt();
			}

			for(int i = n; i >= 2; i--){
				System.out.print(k[i] + " ");
			}
			System.out.print(k[1]);
		}
		System.out.println();
	}

	public static void main(String[] args) {

		new Main().kami();
	}

}