import java.util.Scanner;
import java.util.Arrays;

class Main{
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int[] numbers = new int[n];
		
		for(int i = n-1; i >= 0; i--){
			numbers[i] = scanner.nextInt();
		}

		for(int i = 0; i < n; i++){
		    if(i == n-1){
		        System.out.print(numbers[i]);
		    }else{
		        System.out.print(numbers[i] + " ");
		    }
			
		}

		System.out.print("\n");
	}
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util class Main{
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int[] numbers = new int[n];
		
		for(int i = n-1; i >= 0; i--){
			numbers[i] = scanner.nextInt();
		}

		for(int i = 0; i < n; i++){
		    if(i == n-1){
		        System.out.print(numbers[i]);
		    }else{
		        System.out.print(numbers[i] + " ");
		    }
			
		}

		System.out.print("\n");
	}
} Main public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int[] numbers = new int[n];
		
		for(int i = n-1; i >= 0; i--){
			numbers[i] = scanner.nextInt();
		}

		for(int i = 0; i < n; i++){
		    if(i == n-1){
		        System.out.print(numbers[i]);
		    }else{
		        System.out.print(numbers[i] + " ");
		    }
			
		}

		System.out.print("\n");
	} main {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int[] numbers = new int[n];
		
		for(int i = n-1; i >= 0; i--){
			numbers[i] = scanner.nextInt();
		}

		for(int i = 0; i < n; i++){
		    if(i == n-1){
		        System.out.print(numbers[i]);
		    }else{
		        System.out.print(numbers[i] + " ");
		    }
			
		}

		System.out.print("\n");
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner int[] numbers = new int[n]; numbers new int[n] n for(int i = n-1; i >= 0; i--){
			numbers[i] = scanner.nextInt();
		} int i = n-1; int i = n-1; i n-1 n 1 i >= 0 i 0 i-- i-- i {
			numbers[i] = scanner.nextInt();
		} {
			numbers[i] = scanner.nextInt();
		} numbers[i] = scanner.nextInt() numbers[i] numbers i scanner.nextInt() scanner.nextInt scanner for(int i = 0; i < n; i++){
		    if(i == n-1){
		        System.out.print(numbers[i]);
		    }else{
		        System.out.print(numbers[i] + " ");
		    }
			
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
		    if(i == n-1){
		        System.out.print(numbers[i]);
		    }else{
		        System.out.print(numbers[i] + " ");
		    }
			
		} {
		    if(i == n-1){
		        System.out.print(numbers[i]);
		    }else{
		        System.out.print(numbers[i] + " ");
		    }
			
		} if(i == n-1){
		        System.out.print(numbers[i]);
		    }else{
		        System.out.print(numbers[i] + " ");
		    } i == n-1 i n-1 n 1 {
		        System.out.print(numbers[i]);
		    } System.out.print(numbers[i]) System.out.print System.out System System.out numbers[i] numbers i {
		        System.out.print(numbers[i] + " ");
		    } System.out.print(numbers[i] + " ") System.out.print System.out System System.out numbers[i] + " " numbers[i] numbers i " " System.out.print("\n") System.out.print System.out System System.out "\n" String[] args args
import java.util.Scanner;
import java.util.Arrays;

class Main{
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int[] numbers = new int[n];
		
		for(int i = n-1; i >= 0; i--){
			numbers[i] = scanner.nextInt();
		}

		for(int i = 0; i < n; i++){
		    if(i == n-1){
		        System.out.print(numbers[i]);
		    }else{
		        System.out.print(numbers[i] + " ");
		    }
			
		}

		System.out.print("\n");
	}
}