import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num1 = br.readLine();
		String num2 = br.readLine();

		String[] str = num2.split(" ");

		int result = Integer.parseInt(num1);
		int[] list = new int[result];

		for (int i = 0; i < result; i++) {

			list[i] = Integer.parseInt(str[i]);
		}
		for (int i = result - 1; i >= 0 ; i--){
			System.out.print(list[i]);

			if (i == 0) {
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num1 = br.readLine();
		String num2 = br.readLine();

		String[] str = num2.split(" ");

		int result = Integer.parseInt(num1);
		int[] list = new int[result];

		for (int i = 0; i < result; i++) {

			list[i] = Integer.parseInt(str[i]);
		}
		for (int i = result - 1; i >= 0 ; i--){
			System.out.print(list[i]);

			if (i == 0) {
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	}
} Main public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num1 = br.readLine();
		String num2 = br.readLine();

		String[] str = num2.split(" ");

		int result = Integer.parseInt(num1);
		int[] list = new int[result];

		for (int i = 0; i < result; i++) {

			list[i] = Integer.parseInt(str[i]);
		}
		for (int i = result - 1; i >= 0 ; i--){
			System.out.print(list[i]);

			if (i == 0) {
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	} main {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num1 = br.readLine();
		String num2 = br.readLine();

		String[] str = num2.split(" ");

		int result = Integer.parseInt(num1);
		int[] list = new int[result];

		for (int i = 0; i < result; i++) {

			list[i] = Integer.parseInt(str[i]);
		}
		for (int i = result - 1; i >= 0 ; i--){
			System.out.print(list[i]);

			if (i == 0) {
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String num1 = br.readLine(); num1 br.readLine() br.readLine br String num2 = br.readLine(); num2 br.readLine() br.readLine br String[] str = num2.split(" "); str num2.split(" ") num2.split num2 " " int result = Integer.parseInt(num1); result Integer.parseInt(num1) Integer.parseInt Integer num1 int[] list = new int[result]; list new int[result] result for (int i = 0; i < result; i++) {

			list[i] = Integer.parseInt(str[i]);
		} int i = 0; int i = 0; i 0 i < result i result i++ i++ i {

			list[i] = Integer.parseInt(str[i]);
		} {

			list[i] = Integer.parseInt(str[i]);
		} list[i] = Integer.parseInt(str[i]) list[i] list i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i for (int i = result - 1; i >= 0 ; i--){
			System.out.print(list[i]);

			if (i == 0) {
				break;
			}
			System.out.print(" ");
		} int i = result - 1; int i = result - 1; i result - 1 result 1 i >= 0 i 0 i-- i-- i {
			System.out.print(list[i]);

			if (i == 0) {
				break;
			}
			System.out.print(" ");
		} {
			System.out.print(list[i]);

			if (i == 0) {
				break;
			}
			System.out.print(" ");
		} System.out.print(list[i]) System.out.print System.out System System.out list[i] list i if (i == 0) {
				break;
			} i == 0 i 0 {
				break;
			} break; System.out.print(" ") System.out.print System.out System System.out " " 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 {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num1 = br.readLine();
		String num2 = br.readLine();

		String[] str = num2.split(" ");

		int result = Integer.parseInt(num1);
		int[] list = new int[result];

		for (int i = 0; i < result; i++) {

			list[i] = Integer.parseInt(str[i]);
		}
		for (int i = result - 1; i >= 0 ; i--){
			System.out.print(list[i]);

			if (i == 0) {
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	}
} public class Main {

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num1 = br.readLine();
		String num2 = br.readLine();

		String[] str = num2.split(" ");

		int result = Integer.parseInt(num1);
		int[] list = new int[result];

		for (int i = 0; i < result; i++) {

			list[i] = Integer.parseInt(str[i]);
		}
		for (int i = result - 1; i >= 0 ; i--){
			System.out.print(list[i]);

			if (i == 0) {
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num1 = br.readLine();
		String num2 = br.readLine();

		String[] str = num2.split(" ");

		int result = Integer.parseInt(num1);
		int[] list = new int[result];

		for (int i = 0; i < result; i++) {

			list[i] = Integer.parseInt(str[i]);
		}
		for (int i = result - 1; i >= 0 ; i--){
			System.out.print(list[i]);

			if (i == 0) {
				break;
			}
			System.out.print(" ");
		}
		System.out.println();
	}
}