import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
	 public static void main(String[] args) throws IOException {
	        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        int n = Integer.parseInt(br.readLine());
        
	        String[] su=br.readLine().split(" ");
	        	        
		    StringBuilder outArray = new StringBuilder();
		    
		    for(int i=n-1;i>=0;i--){
		    	outArray.append(su[i] + " ");
		    }
		    int p=outArray.length();
		    outArray.deleteCharAt(p-1);
		    System.out.println(outArray);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	 public static void main(String[] args) throws IOException {
	        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        int n = Integer.parseInt(br.readLine());
        
	        String[] su=br.readLine().split(" ");
	        	        
		    StringBuilder outArray = new StringBuilder();
		    
		    for(int i=n-1;i>=0;i--){
		    	outArray.append(su[i] + " ");
		    }
		    int p=outArray.length();
		    outArray.deleteCharAt(p-1);
		    System.out.println(outArray);
	}
} Main public static void main(String[] args) throws IOException {
	        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        int n = Integer.parseInt(br.readLine());
        
	        String[] su=br.readLine().split(" ");
	        	        
		    StringBuilder outArray = new StringBuilder();
		    
		    for(int i=n-1;i>=0;i--){
		    	outArray.append(su[i] + " ");
		    }
		    int p=outArray.length();
		    outArray.deleteCharAt(p-1);
		    System.out.println(outArray);
	} main {
	        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        int n = Integer.parseInt(br.readLine());
        
	        String[] su=br.readLine().split(" ");
	        	        
		    StringBuilder outArray = new StringBuilder();
		    
		    for(int i=n-1;i>=0;i--){
		    	outArray.append(su[i] + " ");
		    }
		    int p=outArray.length();
		    outArray.deleteCharAt(p-1);
		    System.out.println(outArray);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] su=br.readLine().split(" "); su br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " StringBuilder outArray = new StringBuilder(); outArray new StringBuilder() for(int i=n-1;i>=0;i--){
		    	outArray.append(su[i] + " ");
		    } int i=n-1; int i=n-1; i n-1 n 1 i>=0 i 0 i-- i-- i {
		    	outArray.append(su[i] + " ");
		    } {
		    	outArray.append(su[i] + " ");
		    } outArray.append(su[i] + " ") outArray.append outArray su[i] + " " su[i] su i " " int p=outArray.length(); p outArray.length() outArray.length outArray outArray.deleteCharAt(p-1) outArray.deleteCharAt outArray p-1 p 1 System.out.println(outArray) System.out.println System.out System System.out outArray String[] args args public class Main {
	 public static void main(String[] args) throws IOException {
	        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        int n = Integer.parseInt(br.readLine());
        
	        String[] su=br.readLine().split(" ");
	        	        
		    StringBuilder outArray = new StringBuilder();
		    
		    for(int i=n-1;i>=0;i--){
		    	outArray.append(su[i] + " ");
		    }
		    int p=outArray.length();
		    outArray.deleteCharAt(p-1);
		    System.out.println(outArray);
	}
} public class Main {
	 public static void main(String[] args) throws IOException {
	        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        int n = Integer.parseInt(br.readLine());
        
	        String[] su=br.readLine().split(" ");
	        	        
		    StringBuilder outArray = new StringBuilder();
		    
		    for(int i=n-1;i>=0;i--){
		    	outArray.append(su[i] + " ");
		    }
		    int p=outArray.length();
		    outArray.deleteCharAt(p-1);
		    System.out.println(outArray);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
	 public static void main(String[] args) throws IOException {
	        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        int n = Integer.parseInt(br.readLine());
        
	        String[] su=br.readLine().split(" ");
	        	        
		    StringBuilder outArray = new StringBuilder();
		    
		    for(int i=n-1;i>=0;i--){
		    	outArray.append(su[i] + " ");
		    }
		    int p=outArray.length();
		    outArray.deleteCharAt(p-1);
		    System.out.println(outArray);
	}
}