import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a;
		a = new int[100];
		int i;
		for(i = 0; i < n; ++i){
			int r = scan.nextInt();
			a[i] = r;
		}
		for(i = n - 1; i >= 0; --i){
			if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" ");
		}
		System.out.println();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a;
		a = new int[100];
		int i;
		for(i = 0; i < n; ++i){
			int r = scan.nextInt();
			a[i] = r;
		}
		for(i = n - 1; i >= 0; --i){
			if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" ");
		}
		System.out.println();
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a;
		a = new int[100];
		int i;
		for(i = 0; i < n; ++i){
			int r = scan.nextInt();
			a[i] = r;
		}
		for(i = n - 1; i >= 0; --i){
			if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" ");
		}
		System.out.println();
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a;
		a = new int[100];
		int i;
		for(i = 0; i < n; ++i){
			int r = scan.nextInt();
			a[i] = r;
		}
		for(i = n - 1; i >= 0; --i){
			if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" ");
		}
		System.out.println();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int[] a; a a = new int[100] a new int[100] 100 int i; i for(i = 0; i < n; ++i){
			int r = scan.nextInt();
			a[i] = r;
		} i = 0; i = 0 i 0 i < n i n ++i ++i i {
			int r = scan.nextInt();
			a[i] = r;
		} {
			int r = scan.nextInt();
			a[i] = r;
		} int r = scan.nextInt(); r scan.nextInt() scan.nextInt scan a[i] = r a[i] a i r for(i = n - 1; i >= 0; --i){
			if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" ");
		} i = n - 1; i = n - 1 i n - 1 n 1 i >= 0 i 0 --i --i i {
			if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" ");
		} {
			if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" ");
		} if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" "); i == 0 i 0 System.out.print(a[i]) System.out.print System.out System System.out a[i] a i System.out.print(a[i]+" ") System.out.print System.out System System.out a[i]+" " a[i] a i " " System.out.println() System.out.println System.out System System.out String[] args args public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a;
		a = new int[100];
		int i;
		for(i = 0; i < n; ++i){
			int r = scan.nextInt();
			a[i] = r;
		}
		for(i = n - 1; i >= 0; --i){
			if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" ");
		}
		System.out.println();
	}
} public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a;
		a = new int[100];
		int i;
		for(i = 0; i < n; ++i){
			int r = scan.nextInt();
			a[i] = r;
		}
		for(i = n - 1; i >= 0; --i){
			if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" ");
		}
		System.out.println();
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a;
		a = new int[100];
		int i;
		for(i = 0; i < n; ++i){
			int r = scan.nextInt();
			a[i] = r;
		}
		for(i = n - 1; i >= 0; --i){
			if(i == 0)
				System.out.print(a[i]);
			else 
				System.out.print(a[i]+" ");
		}
		System.out.println();
	}
}