import 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 sz_input = br.readLine();
		String[] sz_number = sz_input.split(" ");
		
		for (int i = n-1; i>=0; i--) {
			System.out.print(Integer.parseInt(sz_number[i]));
			if (i > 0) {
				System.out.print(" ");
			}
		}
		
		System.out.println();
	}
} import java.io.*; io.* java 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 sz_input = br.readLine();
		String[] sz_number = sz_input.split(" ");
		
		for (int i = n-1; i>=0; i--) {
			System.out.print(Integer.parseInt(sz_number[i]));
			if (i > 0) {
				System.out.print(" ");
			}
		}
		
		System.out.println();
	}
} Main public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		
		String sz_input = br.readLine();
		String[] sz_number = sz_input.split(" ");
		
		for (int i = n-1; i>=0; i--) {
			System.out.print(Integer.parseInt(sz_number[i]));
			if (i > 0) {
				System.out.print(" ");
			}
		}
		
		System.out.println();
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		
		String sz_input = br.readLine();
		String[] sz_number = sz_input.split(" ");
		
		for (int i = n-1; i>=0; i--) {
			System.out.print(Integer.parseInt(sz_number[i]));
			if (i > 0) {
				System.out.print(" ");
			}
		}
		
		System.out.println();
	} 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 sz_input = br.readLine(); sz_input br.readLine() br.readLine br String[] sz_number = sz_input.split(" "); sz_number sz_input.split(" ") sz_input.split sz_input " " for (int i = n-1; i>=0; i--) {
			System.out.print(Integer.parseInt(sz_number[i]));
			if (i > 0) {
				System.out.print(" ");
			}
		} int i = n-1; int i = n-1; i n-1 n 1 i>=0 i 0 i-- i-- i {
			System.out.print(Integer.parseInt(sz_number[i]));
			if (i > 0) {
				System.out.print(" ");
			}
		} {
			System.out.print(Integer.parseInt(sz_number[i]));
			if (i > 0) {
				System.out.print(" ");
			}
		} System.out.print(Integer.parseInt(sz_number[i])) System.out.print System.out System System.out Integer.parseInt(sz_number[i]) Integer.parseInt Integer sz_number[i] sz_number i if (i > 0) {
				System.out.print(" ");
			} i > 0 i 0 {
				System.out.print(" ");
			} 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
import 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 sz_input = br.readLine();
		String[] sz_number = sz_input.split(" ");
		
		for (int i = n-1; i>=0; i--) {
			System.out.print(Integer.parseInt(sz_number[i]));
			if (i > 0) {
				System.out.print(" ");
			}
		}
		
		System.out.println();
	}
}