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

class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

		int count = Integer.parseInt(br.readLine());
		String[] line = br.readLine().split(" ");

		for (int i  = count-1; i >= 0; i--) {
			if(i != count -1){
				sb.append(" ");
			}
			sb.append(line[i]);
		}
		System.out.println(sb.toString());
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

		int count = Integer.parseInt(br.readLine());
		String[] line = br.readLine().split(" ");

		for (int i  = count-1; i >= 0; i--) {
			if(i != count -1){
				sb.append(" ");
			}
			sb.append(line[i]);
		}
		System.out.println(sb.toString());
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

		int count = Integer.parseInt(br.readLine());
		String[] line = br.readLine().split(" ");

		for (int i  = count-1; i >= 0; i--) {
			if(i != count -1){
				sb.append(" ");
			}
			sb.append(line[i]);
		}
		System.out.println(sb.toString());
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

		int count = Integer.parseInt(br.readLine());
		String[] line = br.readLine().split(" ");

		for (int i  = count-1; i >= 0; i--) {
			if(i != count -1){
				sb.append(" ");
			}
			sb.append(line[i]);
		}
		System.out.println(sb.toString());
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() int count = Integer.parseInt(br.readLine()); count Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] line = br.readLine().split(" "); line br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for (int i  = count-1; i >= 0; i--) {
			if(i != count -1){
				sb.append(" ");
			}
			sb.append(line[i]);
		} int i  = count-1; int i  = count-1; i count-1 count 1 i >= 0 i 0 i-- i-- i {
			if(i != count -1){
				sb.append(" ");
			}
			sb.append(line[i]);
		} {
			if(i != count -1){
				sb.append(" ");
			}
			sb.append(line[i]);
		} if(i != count -1){
				sb.append(" ");
			} i != count -1 i count -1 count 1 {
				sb.append(" ");
			} sb.append(" ") sb.append sb " " sb.append(line[i]) sb.append sb line[i] line i System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

		int count = Integer.parseInt(br.readLine());
		String[] line = br.readLine().split(" ");

		for (int i  = count-1; i >= 0; i--) {
			if(i != count -1){
				sb.append(" ");
			}
			sb.append(line[i]);
		}
		System.out.println(sb.toString());
	}
}