import java.io.IOException;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int[] array = new int[n];
		for (int i = 0; i < n; i++) {
			array[i] = sc.nextInt();
		}

		String blank = " ";
		for (int i = array.length-1; i >-1; i--) {
			if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			}
		}
		System.out.println("");
	}
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws IOException {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int[] array = new int[n];
		for (int i = 0; i < n; i++) {
			array[i] = sc.nextInt();
		}

		String blank = " ";
		for (int i = array.length-1; i >-1; i--) {
			if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			}
		}
		System.out.println("");
	}
} Main public static void main(String[] args) throws IOException {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int[] array = new int[n];
		for (int i = 0; i < n; i++) {
			array[i] = sc.nextInt();
		}

		String blank = " ";
		for (int i = array.length-1; i >-1; i--) {
			if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			}
		}
		System.out.println("");
	} main {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int[] array = new int[n];
		for (int i = 0; i < n; i++) {
			array[i] = sc.nextInt();
		}

		String blank = " ";
		for (int i = array.length-1; i >-1; i--) {
			if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			}
		}
		System.out.println("");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] array = new int[n]; array new int[n] n for (int i = 0; i < n; i++) {
			array[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			array[i] = sc.nextInt();
		} {
			array[i] = sc.nextInt();
		} array[i] = sc.nextInt() array[i] array i sc.nextInt() sc.nextInt sc String blank = " "; blank " " for (int i = array.length-1; i >-1; i--) {
			if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			}
		} int i = array.length-1; int i = array.length-1; i array.length-1 array.length array array.length 1 i >-1 i -1 1 i-- i-- i {
			if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			}
		} {
			if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			}
		} if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			} i == 0 i 0 {
				System.out.print(array[i]);
			} System.out.print(array[i]) System.out.print System.out System System.out array[i] array i {
				System.out.print(array[i] + blank);
			} System.out.print(array[i] + blank) System.out.print System.out System System.out array[i] + blank array[i] array i blank System.out.println("") System.out.println System.out System System.out "" String[] args args public class Main {

	public static void main(String[] args) throws IOException {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int[] array = new int[n];
		for (int i = 0; i < n; i++) {
			array[i] = sc.nextInt();
		}

		String blank = " ";
		for (int i = array.length-1; i >-1; i--) {
			if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			}
		}
		System.out.println("");
	}
} public class Main {

	public static void main(String[] args) throws IOException {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int[] array = new int[n];
		for (int i = 0; i < n; i++) {
			array[i] = sc.nextInt();
		}

		String blank = " ";
		for (int i = array.length-1; i >-1; i--) {
			if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			}
		}
		System.out.println("");
	}
} Main
import java.io.IOException;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int[] array = new int[n];
		for (int i = 0; i < n; i++) {
			array[i] = sc.nextInt();
		}

		String blank = " ";
		for (int i = array.length-1; i >-1; i--) {
			if (i == 0) {
				System.out.print(array[i]);
			} else {
				System.out.print(array[i] + blank);
			}
		}
		System.out.println("");
	}
}