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

public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {

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

		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split(" ");

		for (int i = n - 1; i >= 0; i--) {
			sb.append(str[i]);
			if (i != 0) {
				sb.append(" ");
			}
		}

		System.out.println(sb);
	}
} 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 NumberFormatException, IOException {

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

		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split(" ");

		for (int i = n - 1; i >= 0; i--) {
			sb.append(str[i]);
			if (i != 0) {
				sb.append(" ");
			}
		}

		System.out.println(sb);
	}
} Main public static void main(String[] args) throws NumberFormatException, IOException {

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

		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split(" ");

		for (int i = n - 1; i >= 0; i--) {
			sb.append(str[i]);
			if (i != 0) {
				sb.append(" ");
			}
		}

		System.out.println(sb);
	} main {

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

		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split(" ");

		for (int i = n - 1; i >= 0; i--) {
			sb.append(str[i]);
			if (i != 0) {
				sb.append(" ");
			}
		}

		System.out.println(sb);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] str = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for (int i = n - 1; i >= 0; i--) {
			sb.append(str[i]);
			if (i != 0) {
				sb.append(" ");
			}
		} int i = n - 1; int i = n - 1; i n - 1 n 1 i >= 0 i 0 i-- i-- i {
			sb.append(str[i]);
			if (i != 0) {
				sb.append(" ");
			}
		} {
			sb.append(str[i]);
			if (i != 0) {
				sb.append(" ");
			}
		} sb.append(str[i]) sb.append sb str[i] str i if (i != 0) {
				sb.append(" ");
			} i != 0 i 0 {
				sb.append(" ");
			} sb.append(" ") sb.append sb " " System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {

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

		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split(" ");

		for (int i = n - 1; i >= 0; i--) {
			sb.append(str[i]);
			if (i != 0) {
				sb.append(" ");
			}
		}

		System.out.println(sb);
	}
} public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {

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

		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split(" ");

		for (int i = n - 1; i >= 0; i--) {
			sb.append(str[i]);
			if (i != 0) {
				sb.append(" ");
			}
		}

		System.out.println(sb);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {

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

		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split(" ");

		for (int i = n - 1; i >= 0; i--) {
			sb.append(str[i]);
			if (i != 0) {
				sb.append(" ");
			}
		}

		System.out.println(sb);
	}
}