public class Main {
	public static void main (String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int n = scan.nextInt();
		int[] arr = new int[n];

		for(int i = 0;i < n; i++){
			arr[i] = scan.nextInt();
		}
		for(int j = (n-1);j >= 0;j--){
			System.out.print(arr[j]);
			if(j == 0){
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	}

} public class Main {
	public static void main (String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int n = scan.nextInt();
		int[] arr = new int[n];

		for(int i = 0;i < n; i++){
			arr[i] = scan.nextInt();
		}
		for(int j = (n-1);j >= 0;j--){
			System.out.print(arr[j]);
			if(j == 0){
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	}

} Main public static void main (String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int n = scan.nextInt();
		int[] arr = new int[n];

		for(int i = 0;i < n; i++){
			arr[i] = scan.nextInt();
		}
		for(int j = (n-1);j >= 0;j--){
			System.out.print(arr[j]);
			if(j == 0){
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	} main {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int n = scan.nextInt();
		int[] arr = new int[n];

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

		for(int i = 0;i < n; i++){
			arr[i] = scan.nextInt();
		}
		for(int j = (n-1);j >= 0;j--){
			System.out.print(arr[j]);
			if(j == 0){
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	}

} public class Main {
	public static void main (String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int n = scan.nextInt();
		int[] arr = new int[n];

		for(int i = 0;i < n; i++){
			arr[i] = scan.nextInt();
		}
		for(int j = (n-1);j >= 0;j--){
			System.out.print(arr[j]);
			if(j == 0){
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	}

} Main
public class Main {
	public static void main (String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int n = scan.nextInt();
		int[] arr = new int[n];

		for(int i = 0;i < n; i++){
			arr[i] = scan.nextInt();
		}
		for(int j = (n-1);j >= 0;j--){
			System.out.print(arr[j]);
			if(j == 0){
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	}

}