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

public class Main {
	
	
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);

		final int n = sc.nextInt();
		int[] arr = new int[n];
		
		for(int i = 0; i < n; i++){
			arr[i] = sc.nextInt();
		}
		
		for(int i = n - 1; i >= 0; i--){
			if(i != n - 1){
				System.out.print(" ");
			}
			System.out.print(arr[i]);
		}
		System.out.println();
	}

} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	
	
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);

		final int n = sc.nextInt();
		int[] arr = new int[n];
		
		for(int i = 0; i < n; i++){
			arr[i] = sc.nextInt();
		}
		
		for(int i = n - 1; i >= 0; i--){
			if(i != n - 1){
				System.out.print(" ");
			}
			System.out.print(arr[i]);
		}
		System.out.println();
	}

} Main public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);

		final int n = sc.nextInt();
		int[] arr = new int[n];
		
		for(int i = 0; i < n; i++){
			arr[i] = sc.nextInt();
		}
		
		for(int i = n - 1; i >= 0; i--){
			if(i != n - 1){
				System.out.print(" ");
			}
			System.out.print(arr[i]);
		}
		System.out.println();
	} main {
		Scanner sc = new Scanner(System.in);

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

		final int n = sc.nextInt();
		int[] arr = new int[n];
		
		for(int i = 0; i < n; i++){
			arr[i] = sc.nextInt();
		}
		
		for(int i = n - 1; i >= 0; i--){
			if(i != n - 1){
				System.out.print(" ");
			}
			System.out.print(arr[i]);
		}
		System.out.println();
	}

} public class Main {
	
	
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);

		final int n = sc.nextInt();
		int[] arr = new int[n];
		
		for(int i = 0; i < n; i++){
			arr[i] = sc.nextInt();
		}
		
		for(int i = n - 1; i >= 0; i--){
			if(i != n - 1){
				System.out.print(" ");
			}
			System.out.print(arr[i]);
		}
		System.out.println();
	}

} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	
	
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);

		final int n = sc.nextInt();
		int[] arr = new int[n];
		
		for(int i = 0; i < n; i++){
			arr[i] = sc.nextInt();
		}
		
		for(int i = n - 1; i >= 0; i--){
			if(i != n - 1){
				System.out.print(" ");
			}
			System.out.print(arr[i]);
		}
		System.out.println();
	}

}