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();
		long tr;
		int j = 0,k = 0;
		long jug[] = new long[n];
		
		
		
		
		
		for(int i=0;i<n;i++){
			
			jug[i]=as.nextInt();
	
		}
		
		
		for(int l=n-1;l>=0;l--){
			
			String str=String.valueOf(jug[l])+" ";
			if(l==0)
				str=String.valueOf(jug[l])+"\n";
			
				System.out.print(str);
				
			
		}

	}

} 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();
		long tr;
		int j = 0,k = 0;
		long jug[] = new long[n];
		
		
		
		
		
		for(int i=0;i<n;i++){
			
			jug[i]=as.nextInt();
	
		}
		
		
		for(int l=n-1;l>=0;l--){
			
			String str=String.valueOf(jug[l])+" ";
			if(l==0)
				str=String.valueOf(jug[l])+"\n";
			
				System.out.print(str);
				
			
		}

	}

} Main /**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
		
		int n=as.nextInt();
		long tr;
		int j = 0,k = 0;
		long jug[] = new long[n];
		
		
		
		
		
		for(int i=0;i<n;i++){
			
			jug[i]=as.nextInt();
	
		}
		
		
		for(int l=n-1;l>=0;l--){
			
			String str=String.valueOf(jug[l])+" ";
			if(l==0)
				str=String.valueOf(jug[l])+"\n";
			
				System.out.print(str);
				
			
		}

	} main {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
		
		int n=as.nextInt();
		long tr;
		int j = 0,k = 0;
		long jug[] = new long[n];
		
		
		
		
		
		for(int i=0;i<n;i++){
			
			jug[i]=as.nextInt();
	
		}
		
		
		for(int l=n-1;l>=0;l--){
			
			String str=String.valueOf(jug[l])+" ";
			if(l==0)
				str=String.valueOf(jug[l])+"\n";
			
				System.out.print(str);
				
			
		}

	} Scanner as = new Scanner(System.in); as new Scanner(System.in) int n=as.nextInt(); n as.nextInt() as.nextInt as long tr; tr int j = 0 j 0 k = 0; k 0 long jug[] = new long[n]; jug new long[n] n for(int i=0;i<n;i++){
			
			jug[i]=as.nextInt();
	
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			
			jug[i]=as.nextInt();
	
		} {
			
			jug[i]=as.nextInt();
	
		} jug[i]=as.nextInt() jug[i] jug i as.nextInt() as.nextInt as for(int l=n-1;l>=0;l--){
			
			String str=String.valueOf(jug[l])+" ";
			if(l==0)
				str=String.valueOf(jug[l])+"\n";
			
				System.out.print(str);
				
			
		} int l=n-1; int l=n-1; l n-1 n 1 l>=0 l 0 l-- l-- l {
			
			String str=String.valueOf(jug[l])+" ";
			if(l==0)
				str=String.valueOf(jug[l])+"\n";
			
				System.out.print(str);
				
			
		} {
			
			String str=String.valueOf(jug[l])+" ";
			if(l==0)
				str=String.valueOf(jug[l])+"\n";
			
				System.out.print(str);
				
			
		} String str=String.valueOf(jug[l])+" "; str String.valueOf(jug[l])+" " String.valueOf(jug[l]) String.valueOf String jug[l] jug l " " if(l==0)
				str=String.valueOf(jug[l])+"\n"; l==0 l 0 str=String.valueOf(jug[l])+"\n" str String.valueOf(jug[l])+"\n" String.valueOf(jug[l]) String.valueOf String jug[l] jug l "\n" System.out.print(str) System.out.print System.out System System.out str String[] args args
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();
		long tr;
		int j = 0,k = 0;
		long jug[] = new long[n];
		
		
		
		
		
		for(int i=0;i<n;i++){
			
			jug[i]=as.nextInt();
	
		}
		
		
		for(int l=n-1;l>=0;l--){
			
			String str=String.valueOf(jug[l])+" ";
			if(l==0)
				str=String.valueOf(jug[l])+"\n";
			
				System.out.print(str);
				
			
		}

	}

}