import java.io.*;
public 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 str = br.readLine();
        String[] strs = str.split(" ");
		//--- list内表示 ---
		for(int i = strs.length-1; i >= 0; i--){
			if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if
		}//for
		System.out.println();
	}
} import java.io.*; io.* java public 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 str = br.readLine();
        String[] strs = str.split(" ");
		//--- list内表示 ---
		for(int i = strs.length-1; i >= 0; i--){
			if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if
		}//for
		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 str = br.readLine();
        String[] strs = str.split(" ");
		//--- list内表示 ---
		for(int i = strs.length-1; i >= 0; i--){
			if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if
		}//for
		System.out.println();
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		String str = br.readLine();
        String[] strs = str.split(" ");
		//--- list内表示 ---
		for(int i = strs.length-1; i >= 0; i--){
			if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if
		}//for
		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 str = br.readLine(); str br.readLine() br.readLine br String[] strs = str.split(" "); strs str.split(" ") str.split str " " for(int i = strs.length-1; i >= 0; i--){
			if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if
		}//for int i = strs.length-1; int i = strs.length-1; i strs.length-1 strs.length strs strs.length 1 i >= 0 i 0 i-- i-- i {
			if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if
		}//for {
			if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if
		} if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if i != 0 i 0 {
				System.out.print(strs[i] + " ");
			} System.out.print(strs[i] + " ") System.out.print System.out System System.out strs[i] + " " strs[i] strs i " " {
				System.out.print(strs[i]);
			} System.out.print(strs[i]) System.out.print System.out System System.out strs[i] strs i 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));
		int n = Integer.parseInt(br.readLine());
		String str = br.readLine();
        String[] strs = str.split(" ");
		//--- list内表示 ---
		for(int i = strs.length-1; i >= 0; i--){
			if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if
		}//for
		System.out.println();
	}
} public 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 str = br.readLine();
        String[] strs = str.split(" ");
		//--- list内表示 ---
		for(int i = strs.length-1; i >= 0; i--){
			if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if
		}//for
		System.out.println();
	}
} Main
import java.io.*;
public 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 str = br.readLine();
        String[] strs = str.split(" ");
		//--- list内表示 ---
		for(int i = strs.length-1; i >= 0; i--){
			if(i != 0){
				System.out.print(strs[i] + " ");
			}else{
				System.out.print(strs[i]);
			}//if
		}//for
		System.out.println();
	}
}