import java.util.Scanner;

class Main {
    public static void main(String [] args){
    	
        Scanner scan = new Scanner(System.in);
        
        int n        = scan.nextInt();
        int [] a     = new int[100];
        
        for(int i = 0; i < n; ++i){
        	
            a[i] = scan.nextInt();
        }
        
        for(int i = n - 1; i >= 0; --i){
        	
            System.out.print(a[i]);
            
            if(i > 0){
                System.out.print(' ');
            }
        }
        
        System.out.println();
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String [] args){
    	
        Scanner scan = new Scanner(System.in);
        
        int n        = scan.nextInt();
        int [] a     = new int[100];
        
        for(int i = 0; i < n; ++i){
        	
            a[i] = scan.nextInt();
        }
        
        for(int i = n - 1; i >= 0; --i){
        	
            System.out.print(a[i]);
            
            if(i > 0){
                System.out.print(' ');
            }
        }
        
        System.out.println();
    }
} Main public static void main(String [] args){
    	
        Scanner scan = new Scanner(System.in);
        
        int n        = scan.nextInt();
        int [] a     = new int[100];
        
        for(int i = 0; i < n; ++i){
        	
            a[i] = scan.nextInt();
        }
        
        for(int i = n - 1; i >= 0; --i){
        	
            System.out.print(a[i]);
            
            if(i > 0){
                System.out.print(' ');
            }
        }
        
        System.out.println();
    } main {
    	
        Scanner scan = new Scanner(System.in);
        
        int n        = scan.nextInt();
        int [] a     = new int[100];
        
        for(int i = 0; i < n; ++i){
        	
            a[i] = scan.nextInt();
        }
        
        for(int i = n - 1; i >= 0; --i){
        	
            System.out.print(a[i]);
            
            if(i > 0){
                System.out.print(' ');
            }
        }
        
        System.out.println();
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n        = scan.nextInt(); n scan.nextInt() scan.nextInt scan int [] a     = new int[100]; a new int[100] 100 for(int i = 0; i < n; ++i){
        	
            a[i] = scan.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n ++i ++i i {
        	
            a[i] = scan.nextInt();
        } {
        	
            a[i] = scan.nextInt();
        } a[i] = scan.nextInt() a[i] a i scan.nextInt() scan.nextInt scan for(int i = n - 1; i >= 0; --i){
        	
            System.out.print(a[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(a[i]);
            
            if(i > 0){
                System.out.print(' ');
            }
        } {
        	
            System.out.print(a[i]);
            
            if(i > 0){
                System.out.print(' ');
            }
        } System.out.print(a[i]) System.out.print System.out System System.out a[i] a 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.util.Scanner;

class Main {
    public static void main(String [] args){
    	
        Scanner scan = new Scanner(System.in);
        
        int n        = scan.nextInt();
        int [] a     = new int[100];
        
        for(int i = 0; i < n; ++i){
        	
            a[i] = scan.nextInt();
        }
        
        for(int i = n - 1; i >= 0; --i){
        	
            System.out.print(a[i]);
            
            if(i > 0){
                System.out.print(' ');
            }
        }
        
        System.out.println();
    }
}