import java.util.Scanner;
class Main {
	int[] ai = new int [100];
	int n = 0,w,j = 1,h,i;
	public void nu () {
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		if(n >= 0 || n <= 100) {
			for(w = 0; w < n; w++) {
				ai[w] = sc.nextInt();
			}
			for(w = n-1; w > 0; w--) {
				System.out.printf("%d ",ai[w]);
			}
			System.out.println(ai[0]);
		}
	}
	public static void main(String[] args) {
		new Main().nu();
	}
} import java.util.Scanner; Scanner java.util class Main {
	int[] ai = new int [100];
	int n = 0,w,j = 1,h,i;
	public void nu () {
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		if(n >= 0 || n <= 100) {
			for(w = 0; w < n; w++) {
				ai[w] = sc.nextInt();
			}
			for(w = n-1; w > 0; w--) {
				System.out.printf("%d ",ai[w]);
			}
			System.out.println(ai[0]);
		}
	}
	public static void main(String[] args) {
		new Main().nu();
	}
} Main int[] ai = new int [100]; ai new int [100] 100 int n = 0 n 0 w w j = 1 j 1 h h i; i public void nu () {
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		if(n >= 0 || n <= 100) {
			for(w = 0; w < n; w++) {
				ai[w] = sc.nextInt();
			}
			for(w = n-1; w > 0; w--) {
				System.out.printf("%d ",ai[w]);
			}
			System.out.println(ai[0]);
		}
	} nu {
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		if(n >= 0 || n <= 100) {
			for(w = 0; w < n; w++) {
				ai[w] = sc.nextInt();
			}
			for(w = n-1; w > 0; w--) {
				System.out.printf("%d ",ai[w]);
			}
			System.out.println(ai[0]);
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) n = sc.nextInt() n sc.nextInt() sc.nextInt sc if(n >= 0 || n <= 100) {
			for(w = 0; w < n; w++) {
				ai[w] = sc.nextInt();
			}
			for(w = n-1; w > 0; w--) {
				System.out.printf("%d ",ai[w]);
			}
			System.out.println(ai[0]);
		} n >= 0 || n <= 100 n >= 0 n 0 n <= 100 n 100 {
			for(w = 0; w < n; w++) {
				ai[w] = sc.nextInt();
			}
			for(w = n-1; w > 0; w--) {
				System.out.printf("%d ",ai[w]);
			}
			System.out.println(ai[0]);
		} for(w = 0; w < n; w++) {
				ai[w] = sc.nextInt();
			} w = 0; w = 0 w 0 w < n w n w++ w++ w {
				ai[w] = sc.nextInt();
			} {
				ai[w] = sc.nextInt();
			} ai[w] = sc.nextInt() ai[w] ai w sc.nextInt() sc.nextInt sc for(w = n-1; w > 0; w--) {
				System.out.printf("%d ",ai[w]);
			} w = n-1; w = n-1 w n-1 n 1 w > 0 w 0 w-- w-- w {
				System.out.printf("%d ",ai[w]);
			} {
				System.out.printf("%d ",ai[w]);
			} System.out.printf("%d ",ai[w]) System.out.printf System.out System System.out "%d " ai[w] ai w System.out.println(ai[0]) System.out.println System.out System System.out ai[0] ai 0 public static void main(String[] args) {
		new Main().nu();
	} main {
		new Main().nu();
	} new Main().nu() new Main().nu new Main() String[] args args
import java.util.Scanner;
class Main {
	int[] ai = new int [100];
	int n = 0,w,j = 1,h,i;
	public void nu () {
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		if(n >= 0 || n <= 100) {
			for(w = 0; w < n; w++) {
				ai[w] = sc.nextInt();
			}
			for(w = n-1; w > 0; w--) {
				System.out.printf("%d ",ai[w]);
			}
			System.out.println(ai[0]);
		}
	}
	public static void main(String[] args) {
		new Main().nu();
	}
}