import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		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();
		}
		for (int i = n - 1; i >= 0; i--) {
			if (i == n - 1) {
				System.out.print(array[i]);
			} else {
				System.out.print(" " + array[i]);
			}
		}
		System.out.println();
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		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();
		}
		for (int i = n - 1; i >= 0; i--) {
			if (i == n - 1) {
				System.out.print(array[i]);
			} else {
				System.out.print(" " + array[i]);
			}
		}
		System.out.println();
	}

} Main public static void main(String[] args) {
		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();
		}
		for (int i = n - 1; i >= 0; i--) {
			if (i == n - 1) {
				System.out.print(array[i]);
			} else {
				System.out.print(" " + array[i]);
			}
		}
		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();
		}
		for (int i = n - 1; i >= 0; i--) {
			if (i == n - 1) {
				System.out.print(array[i]);
			} else {
				System.out.print(" " + array[i]);
			}
		}
		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 for (int i = n - 1; i >= 0; i--) {
			if (i == n - 1) {
				System.out.print(array[i]);
			} else {
				System.out.print(" " + array[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(array[i]);
			} else {
				System.out.print(" " + array[i]);
			}
		} {
			if (i == n - 1) {
				System.out.print(array[i]);
			} else {
				System.out.print(" " + array[i]);
			}
		} if (i == n - 1) {
				System.out.print(array[i]);
			} else {
				System.out.print(" " + array[i]);
			} i == n - 1 i n - 1 n 1 {
				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]);
			} System.out.print(" " + array[i]) System.out.print System.out System System.out " " + array[i] " " array[i] array 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);
		int n = sc.nextInt();
		int array[] = new int[n];
		for (int i = 0; i < n; i++) {
			array[i] = sc.nextInt();
		}
		for (int i = n - 1; i >= 0; i--) {
			if (i == n - 1) {
				System.out.print(array[i]);
			} else {
				System.out.print(" " + array[i]);
			}
		}
		System.out.println();
	}

} public class Main {

	public static void main(String[] args) {
		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();
		}
		for (int i = n - 1; i >= 0; i--) {
			if (i == n - 1) {
				System.out.print(array[i]);
			} else {
				System.out.print(" " + array[i]);
			}
		}
		System.out.println();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		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();
		}
		for (int i = n - 1; i >= 0; i--) {
			if (i == n - 1) {
				System.out.print(array[i]);
			} else {
				System.out.print(" " + array[i]);
			}
		}
		System.out.println();
	}

}