import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String line2 = sc.nextLine();
		int totall = Integer.parseInt(line);
		String[] num = line2.split(" ");

		StringBuilder gyaku = new StringBuilder();

		for (int i = totall-1; i >= 0; i--) {
			gyaku.append(num[i]);
			if (i != 0) {
				gyaku.append(" ");

			}
		}

		String reverse = gyaku.toString();
		System.out.println(reverse);

	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String line2 = sc.nextLine();
		int totall = Integer.parseInt(line);
		String[] num = line2.split(" ");

		StringBuilder gyaku = new StringBuilder();

		for (int i = totall-1; i >= 0; i--) {
			gyaku.append(num[i]);
			if (i != 0) {
				gyaku.append(" ");

			}
		}

		String reverse = gyaku.toString();
		System.out.println(reverse);

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String line2 = sc.nextLine();
		int totall = Integer.parseInt(line);
		String[] num = line2.split(" ");

		StringBuilder gyaku = new StringBuilder();

		for (int i = totall-1; i >= 0; i--) {
			gyaku.append(num[i]);
			if (i != 0) {
				gyaku.append(" ");

			}
		}

		String reverse = gyaku.toString();
		System.out.println(reverse);

	} main {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String line2 = sc.nextLine();
		int totall = Integer.parseInt(line);
		String[] num = line2.split(" ");

		StringBuilder gyaku = new StringBuilder();

		for (int i = totall-1; i >= 0; i--) {
			gyaku.append(num[i]);
			if (i != 0) {
				gyaku.append(" ");

			}
		}

		String reverse = gyaku.toString();
		System.out.println(reverse);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String line2 = sc.nextLine(); line2 sc.nextLine() sc.nextLine sc int totall = Integer.parseInt(line); totall Integer.parseInt(line) Integer.parseInt Integer line String[] num = line2.split(" "); num line2.split(" ") line2.split line2 " " StringBuilder gyaku = new StringBuilder(); gyaku new StringBuilder() for (int i = totall-1; i >= 0; i--) {
			gyaku.append(num[i]);
			if (i != 0) {
				gyaku.append(" ");

			}
		} int i = totall-1; int i = totall-1; i totall-1 totall 1 i >= 0 i 0 i-- i-- i {
			gyaku.append(num[i]);
			if (i != 0) {
				gyaku.append(" ");

			}
		} {
			gyaku.append(num[i]);
			if (i != 0) {
				gyaku.append(" ");

			}
		} gyaku.append(num[i]) gyaku.append gyaku num[i] num i if (i != 0) {
				gyaku.append(" ");

			} i != 0 i 0 {
				gyaku.append(" ");

			} gyaku.append(" ") gyaku.append gyaku " " String reverse = gyaku.toString(); reverse gyaku.toString() gyaku.toString gyaku System.out.println(reverse) System.out.println System.out System System.out reverse String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String line2 = sc.nextLine();
		int totall = Integer.parseInt(line);
		String[] num = line2.split(" ");

		StringBuilder gyaku = new StringBuilder();

		for (int i = totall-1; i >= 0; i--) {
			gyaku.append(num[i]);
			if (i != 0) {
				gyaku.append(" ");

			}
		}

		String reverse = gyaku.toString();
		System.out.println(reverse);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String line2 = sc.nextLine();
		int totall = Integer.parseInt(line);
		String[] num = line2.split(" ");

		StringBuilder gyaku = new StringBuilder();

		for (int i = totall-1; i >= 0; i--) {
			gyaku.append(num[i]);
			if (i != 0) {
				gyaku.append(" ");

			}
		}

		String reverse = gyaku.toString();
		System.out.println(reverse);

	}

} Main
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String line2 = sc.nextLine();
		int totall = Integer.parseInt(line);
		String[] num = line2.split(" ");

		StringBuilder gyaku = new StringBuilder();

		for (int i = totall-1; i >= 0; i--) {
			gyaku.append(num[i]);
			if (i != 0) {
				gyaku.append(" ");

			}
		}

		String reverse = gyaku.toString();
		System.out.println(reverse);

	}

}

