import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);



		int number = scanner.nextInt();

		int[] array = new int[number];


		for(int i=0; i<array.length; i++){
			array[i] = scanner.nextInt();
		}

	

		for (int i = array.length - 1; i >= 1; i--) {
			System.out.print(array[i] + " ");

		}
		System.out.println(array[0]);

	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);



		int number = scanner.nextInt();

		int[] array = new int[number];


		for(int i=0; i<array.length; i++){
			array[i] = scanner.nextInt();
		}

	

		for (int i = array.length - 1; i >= 1; i--) {
			System.out.print(array[i] + " ");

		}
		System.out.println(array[0]);

	}
} Main public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);



		int number = scanner.nextInt();

		int[] array = new int[number];


		for(int i=0; i<array.length; i++){
			array[i] = scanner.nextInt();
		}

	

		for (int i = array.length - 1; i >= 1; i--) {
			System.out.print(array[i] + " ");

		}
		System.out.println(array[0]);

	} main {

		Scanner scanner = new Scanner(System.in);



		int number = scanner.nextInt();

		int[] array = new int[number];


		for(int i=0; i<array.length; i++){
			array[i] = scanner.nextInt();
		}

	

		for (int i = array.length - 1; i >= 1; i--) {
			System.out.print(array[i] + " ");

		}
		System.out.println(array[0]);

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int number = scanner.nextInt(); number scanner.nextInt() scanner.nextInt scanner int[] array = new int[number]; array new int[number] number for(int i=0; i<array.length; i++){
			array[i] = scanner.nextInt();
		} int i=0; int i=0; i 0 i<array.length i array.length array array.length i++ i++ i {
			array[i] = scanner.nextInt();
		} {
			array[i] = scanner.nextInt();
		} array[i] = scanner.nextInt() array[i] array i scanner.nextInt() scanner.nextInt scanner for (int i = array.length - 1; i >= 1; i--) {
			System.out.print(array[i] + " ");

		} int i = array.length - 1; int i = array.length - 1; i array.length - 1 array.length array array.length 1 i >= 1 i 1 i-- i-- i {
			System.out.print(array[i] + " ");

		} {
			System.out.print(array[i] + " ");

		} System.out.print(array[i] + " ") System.out.print System.out System System.out array[i] + " " array[i] array i " " System.out.println(array[0]) System.out.println System.out System System.out array[0] array 0 String[] args args public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);



		int number = scanner.nextInt();

		int[] array = new int[number];


		for(int i=0; i<array.length; i++){
			array[i] = scanner.nextInt();
		}

	

		for (int i = array.length - 1; i >= 1; i--) {
			System.out.print(array[i] + " ");

		}
		System.out.println(array[0]);

	}
} public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);



		int number = scanner.nextInt();

		int[] array = new int[number];


		for(int i=0; i<array.length; i++){
			array[i] = scanner.nextInt();
		}

	

		for (int i = array.length - 1; i >= 1; i--) {
			System.out.print(array[i] + " ");

		}
		System.out.println(array[0]);

	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);



		int number = scanner.nextInt();

		int[] array = new int[number];


		for(int i=0; i<array.length; i++){
			array[i] = scanner.nextInt();
		}

	

		for (int i = array.length - 1; i >= 1; i--) {
			System.out.print(array[i] + " ");

		}
		System.out.println(array[0]);

	}
}