import java.util.LinkedList;
import java.util.Scanner;

/**
 * 
 */

/**
 * @author kawakami
 *
 */
class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
        
        int n=as.nextInt();           //??°????????????n
        LinkedList<Integer> list = new LinkedList<Integer>();
        StringBuilder sb = new StringBuilder();
         
         
         
         
         
        for(int i=0;i<n;i++){         //??\???????????????????????????????´????????´?
             
            list.add(Integer.parseInt(as.next()));
     
        }
         
         
        for(int l=n-1;l>=0;l--){      //?????????????´???????????????¨???
             
            if(l==0){
            	
            	sb.append(list.removeLast());
            	
            }
            else{
            	
            	sb.append(list.removeLast()).append(" ");
            	
            }
             
        }
        
        System.out.println(sb.toString());

	}

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

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
        
        int n=as.nextInt();           //??°????????????n
        LinkedList<Integer> list = new LinkedList<Integer>();
        StringBuilder sb = new StringBuilder();
         
         
         
         
         
        for(int i=0;i<n;i++){         //??\???????????????????????????????´????????´?
             
            list.add(Integer.parseInt(as.next()));
     
        }
         
         
        for(int l=n-1;l>=0;l--){      //?????????????´???????????????¨???
             
            if(l==0){
            	
            	sb.append(list.removeLast());
            	
            }
            else{
            	
            	sb.append(list.removeLast()).append(" ");
            	
            }
             
        }
        
        System.out.println(sb.toString());

	}

} Main /**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
        
        int n=as.nextInt();           //??°????????????n
        LinkedList<Integer> list = new LinkedList<Integer>();
        StringBuilder sb = new StringBuilder();
         
         
         
         
         
        for(int i=0;i<n;i++){         //??\???????????????????????????????´????????´?
             
            list.add(Integer.parseInt(as.next()));
     
        }
         
         
        for(int l=n-1;l>=0;l--){      //?????????????´???????????????¨???
             
            if(l==0){
            	
            	sb.append(list.removeLast());
            	
            }
            else{
            	
            	sb.append(list.removeLast()).append(" ");
            	
            }
             
        }
        
        System.out.println(sb.toString());

	} main {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
        
        int n=as.nextInt();           //??°????????????n
        LinkedList<Integer> list = new LinkedList<Integer>();
        StringBuilder sb = new StringBuilder();
         
         
         
         
         
        for(int i=0;i<n;i++){         //??\???????????????????????????????´????????´?
             
            list.add(Integer.parseInt(as.next()));
     
        }
         
         
        for(int l=n-1;l>=0;l--){      //?????????????´???????????????¨???
             
            if(l==0){
            	
            	sb.append(list.removeLast());
            	
            }
            else{
            	
            	sb.append(list.removeLast()).append(" ");
            	
            }
             
        }
        
        System.out.println(sb.toString());

	} Scanner as = new Scanner(System.in); as new Scanner(System.in) int n=as.nextInt(); n as.nextInt() as.nextInt as LinkedList<Integer> list = new LinkedList<Integer>(); list new LinkedList<Integer>() StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int i=0;i<n;i++){         //??\???????????????????????????????´????????´?
             
            list.add(Integer.parseInt(as.next()));
     
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {         //??\???????????????????????????????´????????´?
             
            list.add(Integer.parseInt(as.next()));
     
        } {         //??\???????????????????????????????´????????´?
             
            list.add(Integer.parseInt(as.next()));
     
        } list.add(Integer.parseInt(as.next())) list.add list Integer.parseInt(as.next()) Integer.parseInt Integer as.next() as.next as for(int l=n-1;l>=0;l--){      //?????????????´???????????????¨???
             
            if(l==0){
            	
            	sb.append(list.removeLast());
            	
            }
            else{
            	
            	sb.append(list.removeLast()).append(" ");
            	
            }
             
        } int l=n-1; int l=n-1; l n-1 n 1 l>=0 l 0 l-- l-- l {      //?????????????´???????????????¨???
             
            if(l==0){
            	
            	sb.append(list.removeLast());
            	
            }
            else{
            	
            	sb.append(list.removeLast()).append(" ");
            	
            }
             
        } {      //?????????????´???????????????¨???
             
            if(l==0){
            	
            	sb.append(list.removeLast());
            	
            }
            else{
            	
            	sb.append(list.removeLast()).append(" ");
            	
            }
             
        } if(l==0){
            	
            	sb.append(list.removeLast());
            	
            }
            else{
            	
            	sb.append(list.removeLast()).append(" ");
            	
            } l==0 l 0 {
            	
            	sb.append(list.removeLast());
            	
            } sb.append(list.removeLast()) sb.append sb list.removeLast() list.removeLast list {
            	
            	sb.append(list.removeLast()).append(" ");
            	
            } sb.append(list.removeLast()).append(" ") sb.append(list.removeLast()).append sb.append(list.removeLast()) sb.append sb list.removeLast() list.removeLast list " " System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb String[] args args
import java.util.LinkedList;
import java.util.Scanner;

/**
 * 
 */

/**
 * @author kawakami
 *
 */
class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
        
        int n=as.nextInt();           //??°????????????n
        LinkedList<Integer> list = new LinkedList<Integer>();
        StringBuilder sb = new StringBuilder();
         
         
         
         
         
        for(int i=0;i<n;i++){         //??\???????????????????????????????´????????´?
             
            list.add(Integer.parseInt(as.next()));
     
        }
         
         
        for(int l=n-1;l>=0;l--){      //?????????????´???????????????¨???
             
            if(l==0){
            	
            	sb.append(list.removeLast());
            	
            }
            else{
            	
            	sb.append(list.removeLast()).append(" ");
            	
            }
             
        }
        
        System.out.println(sb.toString());

	}

}