import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);

		String line1 = sc.nextLine();
		int n = Integer.parseInt(line1);

		String line2 = sc.nextLine();
		String[] s = line2.split(" ");

		int[] a = new int[s.length];
		for (int i = 0; i < s.length; i++) {
			a[i] = Integer.parseInt(s[i]);
		}

		StringBuilder str = new StringBuilder();

		while (n > 0) {
			str.append(a[n - 1]);
			if (n == 1) {
				break;
			}
			str.append(" ");
			n--;
		}

		System.out.println(str);
	}

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

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);

		String line1 = sc.nextLine();
		int n = Integer.parseInt(line1);

		String line2 = sc.nextLine();
		String[] s = line2.split(" ");

		int[] a = new int[s.length];
		for (int i = 0; i < s.length; i++) {
			a[i] = Integer.parseInt(s[i]);
		}

		StringBuilder str = new StringBuilder();

		while (n > 0) {
			str.append(a[n - 1]);
			if (n == 1) {
				break;
			}
			str.append(" ");
			n--;
		}

		System.out.println(str);
	}

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

		String line1 = sc.nextLine();
		int n = Integer.parseInt(line1);

		String line2 = sc.nextLine();
		String[] s = line2.split(" ");

		int[] a = new int[s.length];
		for (int i = 0; i < s.length; i++) {
			a[i] = Integer.parseInt(s[i]);
		}

		StringBuilder str = new StringBuilder();

		while (n > 0) {
			str.append(a[n - 1]);
			if (n == 1) {
				break;
			}
			str.append(" ");
			n--;
		}

		System.out.println(str);
	} main {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);

		String line1 = sc.nextLine();
		int n = Integer.parseInt(line1);

		String line2 = sc.nextLine();
		String[] s = line2.split(" ");

		int[] a = new int[s.length];
		for (int i = 0; i < s.length; i++) {
			a[i] = Integer.parseInt(s[i]);
		}

		StringBuilder str = new StringBuilder();

		while (n > 0) {
			str.append(a[n - 1]);
			if (n == 1) {
				break;
			}
			str.append(" ");
			n--;
		}

		System.out.println(str);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line1 = sc.nextLine(); line1 sc.nextLine() sc.nextLine sc int n = Integer.parseInt(line1); n Integer.parseInt(line1) Integer.parseInt Integer line1 String line2 = sc.nextLine(); line2 sc.nextLine() sc.nextLine sc String[] s = line2.split(" "); s line2.split(" ") line2.split line2 " " int[] a = new int[s.length]; a new int[s.length] s.length s s.length for (int i = 0; i < s.length; i++) {
			a[i] = Integer.parseInt(s[i]);
		} int i = 0; int i = 0; i 0 i < s.length i s.length s s.length i++ i++ i {
			a[i] = Integer.parseInt(s[i]);
		} {
			a[i] = Integer.parseInt(s[i]);
		} a[i] = Integer.parseInt(s[i]) a[i] a i Integer.parseInt(s[i]) Integer.parseInt Integer s[i] s i StringBuilder str = new StringBuilder(); str new StringBuilder() while (n > 0) {
			str.append(a[n - 1]);
			if (n == 1) {
				break;
			}
			str.append(" ");
			n--;
		} n > 0 n 0 {
			str.append(a[n - 1]);
			if (n == 1) {
				break;
			}
			str.append(" ");
			n--;
		} str.append(a[n - 1]) str.append str a[n - 1] a n - 1 n 1 if (n == 1) {
				break;
			} n == 1 n 1 {
				break;
			} break; str.append(" ") str.append str " " n-- n System.out.println(str) System.out.println System.out System System.out str String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);

		String line1 = sc.nextLine();
		int n = Integer.parseInt(line1);

		String line2 = sc.nextLine();
		String[] s = line2.split(" ");

		int[] a = new int[s.length];
		for (int i = 0; i < s.length; i++) {
			a[i] = Integer.parseInt(s[i]);
		}

		StringBuilder str = new StringBuilder();

		while (n > 0) {
			str.append(a[n - 1]);
			if (n == 1) {
				break;
			}
			str.append(" ");
			n--;
		}

		System.out.println(str);
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);

		String line1 = sc.nextLine();
		int n = Integer.parseInt(line1);

		String line2 = sc.nextLine();
		String[] s = line2.split(" ");

		int[] a = new int[s.length];
		for (int i = 0; i < s.length; i++) {
			a[i] = Integer.parseInt(s[i]);
		}

		StringBuilder str = new StringBuilder();

		while (n > 0) {
			str.append(a[n - 1]);
			if (n == 1) {
				break;
			}
			str.append(" ");
			n--;
		}

		System.out.println(str);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);

		String line1 = sc.nextLine();
		int n = Integer.parseInt(line1);

		String line2 = sc.nextLine();
		String[] s = line2.split(" ");

		int[] a = new int[s.length];
		for (int i = 0; i < s.length; i++) {
			a[i] = Integer.parseInt(s[i]);
		}

		StringBuilder str = new StringBuilder();

		while (n > 0) {
			str.append(a[n - 1]);
			if (n == 1) {
				break;
			}
			str.append(" ");
			n--;
		}

		System.out.println(str);
	}

}