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());
	            int i;
	            String[] su=br.readLine().split(" ");
	                         
	            StringBuilder outArray = new StringBuilder();
	             
	            for( i=n-1;i>0;i--){
	            	System.out.print(su[i]+" ");
	            }
	            System.out.print(su[i]+"\n");
	    }
	} 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());
	            int i;
	            String[] su=br.readLine().split(" ");
	                         
	            StringBuilder outArray = new StringBuilder();
	             
	            for( i=n-1;i>0;i--){
	            	System.out.print(su[i]+" ");
	            }
	            System.out.print(su[i]+"\n");
	    }
	} Main public static void main(String[] args) throws IOException {
	            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	            int n = Integer.parseInt(br.readLine());
	            int i;
	            String[] su=br.readLine().split(" ");
	                         
	            StringBuilder outArray = new StringBuilder();
	             
	            for( i=n-1;i>0;i--){
	            	System.out.print(su[i]+" ");
	            }
	            System.out.print(su[i]+"\n");
	    } main {
	            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	            int n = Integer.parseInt(br.readLine());
	            int i;
	            String[] su=br.readLine().split(" ");
	                         
	            StringBuilder outArray = new StringBuilder();
	             
	            for( i=n-1;i>0;i--){
	            	System.out.print(su[i]+" ");
	            }
	            System.out.print(su[i]+"\n");
	    } 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 int i; i 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( i=n-1;i>0;i--){
	            	System.out.print(su[i]+" ");
	            } i=n-1; i=n-1 i n-1 n 1 i>0 i 0 i-- i-- i {
	            	System.out.print(su[i]+" ");
	            } {
	            	System.out.print(su[i]+" ");
	            } System.out.print(su[i]+" ") System.out.print System.out System System.out su[i]+" " su[i] su i " " System.out.print(su[i]+"\n") System.out.print System.out System System.out su[i]+"\n" su[i] su i "\n" 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());
	            int i;
	            String[] su=br.readLine().split(" ");
	                         
	            StringBuilder outArray = new StringBuilder();
	             
	            for( i=n-1;i>0;i--){
	            	System.out.print(su[i]+" ");
	            }
	            System.out.print(su[i]+"\n");
	    }
	} 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());
	            int i;
	            String[] su=br.readLine().split(" ");
	                         
	            StringBuilder outArray = new StringBuilder();
	             
	            for( i=n-1;i>0;i--){
	            	System.out.print(su[i]+" ");
	            }
	            System.out.print(su[i]+"\n");
	    }
	} 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());
	            int i;
	            String[] su=br.readLine().split(" ");
	                         
	            StringBuilder outArray = new StringBuilder();
	             
	            for( i=n-1;i>0;i--){
	            	System.out.print(su[i]+" ");
	            }
	            System.out.print(su[i]+"\n");
	    }
	}