import java.util.Arrays;
import java.util.Scanner;

class Main {
	@SuppressWarnings("resource")
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		//?????????
        StringBuilder sb=new StringBuilder("");
		int n = scan.nextInt();
		int[]hako = new int[n];
		
		for(int i = 0; i < hako.length ; i++){
			int a = scan.nextInt();
			hako[i] = a; 
		}//for
	    

		
		//??\?????????
		for(int i = hako.length-1; i >= 0; i--){
			sb.append(hako[i]);
			if(i > 0){
				sb.append(" ");
			}
		}//for
		
		//??????
		System.out.println(sb);
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util class Main {
	@SuppressWarnings("resource")
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		//?????????
        StringBuilder sb=new StringBuilder("");
		int n = scan.nextInt();
		int[]hako = new int[n];
		
		for(int i = 0; i < hako.length ; i++){
			int a = scan.nextInt();
			hako[i] = a; 
		}//for
	    

		
		//??\?????????
		for(int i = hako.length-1; i >= 0; i--){
			sb.append(hako[i]);
			if(i > 0){
				sb.append(" ");
			}
		}//for
		
		//??????
		System.out.println(sb);
	}
} Main @SuppressWarnings("resource")
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		//?????????
        StringBuilder sb=new StringBuilder("");
		int n = scan.nextInt();
		int[]hako = new int[n];
		
		for(int i = 0; i < hako.length ; i++){
			int a = scan.nextInt();
			hako[i] = a; 
		}//for
	    

		
		//??\?????????
		for(int i = hako.length-1; i >= 0; i--){
			sb.append(hako[i]);
			if(i > 0){
				sb.append(" ");
			}
		}//for
		
		//??????
		System.out.println(sb);
	} main {
		Scanner scan = new Scanner(System.in);
		//?????????
        StringBuilder sb=new StringBuilder("");
		int n = scan.nextInt();
		int[]hako = new int[n];
		
		for(int i = 0; i < hako.length ; i++){
			int a = scan.nextInt();
			hako[i] = a; 
		}//for
	    

		
		//??\?????????
		for(int i = hako.length-1; i >= 0; i--){
			sb.append(hako[i]);
			if(i > 0){
				sb.append(" ");
			}
		}//for
		
		//??????
		System.out.println(sb);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) StringBuilder sb=new StringBuilder(""); sb new StringBuilder("") int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int[]hako = new int[n]; hako new int[n] n for(int i = 0; i < hako.length ; i++){
			int a = scan.nextInt();
			hako[i] = a; 
		}//for int i = 0; int i = 0; i 0 i < hako.length i hako.length hako hako.length i++ i++ i {
			int a = scan.nextInt();
			hako[i] = a; 
		}//for {
			int a = scan.nextInt();
			hako[i] = a; 
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan hako[i] = a hako[i] hako i a for(int i = hako.length-1; i >= 0; i--){
			sb.append(hako[i]);
			if(i > 0){
				sb.append(" ");
			}
		}//for int i = hako.length-1; int i = hako.length-1; i hako.length-1 hako.length hako hako.length 1 i >= 0 i 0 i-- i-- i {
			sb.append(hako[i]);
			if(i > 0){
				sb.append(" ");
			}
		}//for {
			sb.append(hako[i]);
			if(i > 0){
				sb.append(" ");
			}
		} sb.append(hako[i]) sb.append sb hako[i] hako 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
import java.util.Arrays;
import java.util.Scanner;

class Main {
	@SuppressWarnings("resource")
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		//?????????
        StringBuilder sb=new StringBuilder("");
		int n = scan.nextInt();
		int[]hako = new int[n];
		
		for(int i = 0; i < hako.length ; i++){
			int a = scan.nextInt();
			hako[i] = a; 
		}//for
	    

		
		//??\?????????
		for(int i = hako.length-1; i >= 0; i--){
			sb.append(hako[i]);
			if(i > 0){
				sb.append(" ");
			}
		}//for
		
		//??????
		System.out.println(sb);
	}
}