import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
        int[] n = new int[x];
        
        for(int i=0; true; i++){
        	n[i] = scan.nextInt();
        	if(i == x-1) break;
        }
        for(int i=x-1; true; i--){
        	System.out.print(n[i]);
        	if(i == 0) break;
        	System.out.print(" ");
        }
    	System.out.println();
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
        int[] n = new int[x];
        
        for(int i=0; true; i++){
        	n[i] = scan.nextInt();
        	if(i == x-1) break;
        }
        for(int i=x-1; true; i--){
        	System.out.print(n[i]);
        	if(i == 0) break;
        	System.out.print(" ");
        }
    	System.out.println();
	}

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
        int[] n = new int[x];
        
        for(int i=0; true; i++){
        	n[i] = scan.nextInt();
        	if(i == x-1) break;
        }
        for(int i=x-1; true; i--){
        	System.out.print(n[i]);
        	if(i == 0) break;
        	System.out.print(" ");
        }
    	System.out.println();
	} main {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
        int[] n = new int[x];
        
        for(int i=0; true; i++){
        	n[i] = scan.nextInt();
        	if(i == x-1) break;
        }
        for(int i=x-1; true; i--){
        	System.out.print(n[i]);
        	if(i == 0) break;
        	System.out.print(" ");
        }
    	System.out.println();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int[] n = new int[x]; n new int[x] x for(int i=0; true; i++){
        	n[i] = scan.nextInt();
        	if(i == x-1) break;
        } int i=0; int i=0; i 0 true i++ i++ i {
        	n[i] = scan.nextInt();
        	if(i == x-1) break;
        } {
        	n[i] = scan.nextInt();
        	if(i == x-1) break;
        } n[i] = scan.nextInt() n[i] n i scan.nextInt() scan.nextInt scan if(i == x-1) break; i == x-1 i x-1 x 1 break; for(int i=x-1; true; i--){
        	System.out.print(n[i]);
        	if(i == 0) break;
        	System.out.print(" ");
        } int i=x-1; int i=x-1; i x-1 x 1 true i-- i-- i {
        	System.out.print(n[i]);
        	if(i == 0) break;
        	System.out.print(" ");
        } {
        	System.out.print(n[i]);
        	if(i == 0) break;
        	System.out.print(" ");
        } System.out.print(n[i]) System.out.print System.out System System.out n[i] n i if(i == 0) break; i == 0 i 0 break; 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 public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
        int[] n = new int[x];
        
        for(int i=0; true; i++){
        	n[i] = scan.nextInt();
        	if(i == x-1) break;
        }
        for(int i=x-1; true; i--){
        	System.out.print(n[i]);
        	if(i == 0) break;
        	System.out.print(" ");
        }
    	System.out.println();
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
        int[] n = new int[x];
        
        for(int i=0; true; i++){
        	n[i] = scan.nextInt();
        	if(i == x-1) break;
        }
        for(int i=x-1; true; i--){
        	System.out.print(n[i]);
        	if(i == 0) break;
        	System.out.print(" ");
        }
    	System.out.println();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
        int[] n = new int[x];
        
        for(int i=0; true; i++){
        	n[i] = scan.nextInt();
        	if(i == x-1) break;
        }
        for(int i=x-1; true; i--){
        	System.out.print(n[i]);
        	if(i == 0) break;
        	System.out.print(" ");
        }
    	System.out.println();
	}

}