import java.util.Scanner;

public class Main {
	public static void main(String [] args){
		
		Scanner scan = new Scanner(System.in);
		
		int one[];
		int i;
		
		int a = scan.nextInt();
		one = new int[a];
		
		for(i=0; i<a; i++){
			int num = scan.nextInt();
			one[i] = num;
		}

		for(i=a-1; i>=0; i--){
			System.out.print(one[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		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 one[];
		int i;
		
		int a = scan.nextInt();
		one = new int[a];
		
		for(i=0; i<a; i++){
			int num = scan.nextInt();
			one[i] = num;
		}

		for(i=a-1; i>=0; i--){
			System.out.print(one[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	}
} Main public static void main(String [] args){
		
		Scanner scan = new Scanner(System.in);
		
		int one[];
		int i;
		
		int a = scan.nextInt();
		one = new int[a];
		
		for(i=0; i<a; i++){
			int num = scan.nextInt();
			one[i] = num;
		}

		for(i=a-1; i>=0; i--){
			System.out.print(one[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	} main {
		
		Scanner scan = new Scanner(System.in);
		
		int one[];
		int i;
		
		int a = scan.nextInt();
		one = new int[a];
		
		for(i=0; i<a; i++){
			int num = scan.nextInt();
			one[i] = num;
		}

		for(i=a-1; i>=0; i--){
			System.out.print(one[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int one[]; one int i; i int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan one = new int[a] one new int[a] a for(i=0; i<a; i++){
			int num = scan.nextInt();
			one[i] = num;
		} i=0; i=0 i 0 i<a i a i++ i++ i {
			int num = scan.nextInt();
			one[i] = num;
		} {
			int num = scan.nextInt();
			one[i] = num;
		} int num = scan.nextInt(); num scan.nextInt() scan.nextInt scan one[i] = num one[i] one i num for(i=a-1; i>=0; i--){
			System.out.print(one[i]);
			if(i != 0){
				System.out.print(" ");
			}
		} i=a-1; i=a-1 i a-1 a 1 i>=0 i 0 i-- i-- i {
			System.out.print(one[i]);
			if(i != 0){
				System.out.print(" ");
			}
		} {
			System.out.print(one[i]);
			if(i != 0){
				System.out.print(" ");
			}
		} System.out.print(one[i]) System.out.print System.out System System.out one[i] one i if(i != 0){
				System.out.print(" ");
			} i != 0 i 0 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " 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 one[];
		int i;
		
		int a = scan.nextInt();
		one = new int[a];
		
		for(i=0; i<a; i++){
			int num = scan.nextInt();
			one[i] = num;
		}

		for(i=a-1; i>=0; i--){
			System.out.print(one[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	}
} public class Main {
	public static void main(String [] args){
		
		Scanner scan = new Scanner(System.in);
		
		int one[];
		int i;
		
		int a = scan.nextInt();
		one = new int[a];
		
		for(i=0; i<a; i++){
			int num = scan.nextInt();
			one[i] = num;
		}

		for(i=a-1; i>=0; i--){
			System.out.print(one[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String [] args){
		
		Scanner scan = new Scanner(System.in);
		
		int one[];
		int i;
		
		int a = scan.nextInt();
		one = new int[a];
		
		for(i=0; i<a; i++){
			int num = scan.nextInt();
			one[i] = num;
		}

		for(i=a-1; i>=0; i--){
			System.out.print(one[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	}
}