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

class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		String[] strAry = br.readLine().split(" ");
		for (int i = 0; i < n; i++) {
			if (i == strAry.length - 1) System.out.println(strAry[0]);
			else System.out.print(strAry[strAry.length - i - 1] + " ");
		}
	}
} import java.io.InputStreamReader; InputStreamReader java.io import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		String[] strAry = br.readLine().split(" ");
		for (int i = 0; i < n; i++) {
			if (i == strAry.length - 1) System.out.println(strAry[0]);
			else System.out.print(strAry[strAry.length - i - 1] + " ");
		}
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		String[] strAry = br.readLine().split(" ");
		for (int i = 0; i < n; i++) {
			if (i == strAry.length - 1) System.out.println(strAry[0]);
			else System.out.print(strAry[strAry.length - i - 1] + " ");
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		String[] strAry = br.readLine().split(" ");
		for (int i = 0; i < n; i++) {
			if (i == strAry.length - 1) System.out.println(strAry[0]);
			else System.out.print(strAry[strAry.length - i - 1] + " ");
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] strAry = br.readLine().split(" "); strAry br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for (int i = 0; i < n; i++) {
			if (i == strAry.length - 1) System.out.println(strAry[0]);
			else System.out.print(strAry[strAry.length - i - 1] + " ");
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			if (i == strAry.length - 1) System.out.println(strAry[0]);
			else System.out.print(strAry[strAry.length - i - 1] + " ");
		} {
			if (i == strAry.length - 1) System.out.println(strAry[0]);
			else System.out.print(strAry[strAry.length - i - 1] + " ");
		} if (i == strAry.length - 1) System.out.println(strAry[0]);
			else System.out.print(strAry[strAry.length - i - 1] + " "); i == strAry.length - 1 i strAry.length - 1 strAry.length strAry strAry.length 1 System.out.println(strAry[0]) System.out.println System.out System System.out strAry[0] strAry 0 System.out.print(strAry[strAry.length - i - 1] + " ") System.out.print System.out System System.out strAry[strAry.length - i - 1] + " " strAry[strAry.length - i - 1] strAry strAry.length - i - 1 strAry.length - i - 1 strAry.length strAry strAry.length i 1 " " String[] args args
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;

class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		String[] strAry = br.readLine().split(" ");
		for (int i = 0; i < n; i++) {
			if (i == strAry.length - 1) System.out.println(strAry[0]);
			else System.out.print(strAry[strAry.length - i - 1] + " ");
		}
	}
}