import java.util.Scanner;
public class Main {
	    public static void main(String args[]) {
	    	Scanner sc = new Scanner(System.in);
	    	int n = sc.nextInt(); //n????????\?????????????????????
	        StringBuilder NewBuilder = new StringBuilder(); 
	    	int [] a  = new int[n];
	    	 
	    	for(int i = 0; i < n ; i++) {
	    		a[i] = sc.nextInt();
	    	}

            for(int i = n; i >= 1; i--){
            	 
                int x = a[i-1];
                NewBuilder.append(x);
     
                if(i == 1){
                    break;
                }
                NewBuilder.append(" ");
            }
            NewBuilder.append("\n");
            System.out.print(NewBuilder);

    }	        

} import java.util.Scanner; Scanner java.util public class Main {
	    public static void main(String args[]) {
	    	Scanner sc = new Scanner(System.in);
	    	int n = sc.nextInt(); //n????????\?????????????????????
	        StringBuilder NewBuilder = new StringBuilder(); 
	    	int [] a  = new int[n];
	    	 
	    	for(int i = 0; i < n ; i++) {
	    		a[i] = sc.nextInt();
	    	}

            for(int i = n; i >= 1; i--){
            	 
                int x = a[i-1];
                NewBuilder.append(x);
     
                if(i == 1){
                    break;
                }
                NewBuilder.append(" ");
            }
            NewBuilder.append("\n");
            System.out.print(NewBuilder);

    }	        

} Main public static void main(String args[]) {
	    	Scanner sc = new Scanner(System.in);
	    	int n = sc.nextInt(); //n????????\?????????????????????
	        StringBuilder NewBuilder = new StringBuilder(); 
	    	int [] a  = new int[n];
	    	 
	    	for(int i = 0; i < n ; i++) {
	    		a[i] = sc.nextInt();
	    	}

            for(int i = n; i >= 1; i--){
            	 
                int x = a[i-1];
                NewBuilder.append(x);
     
                if(i == 1){
                    break;
                }
                NewBuilder.append(" ");
            }
            NewBuilder.append("\n");
            System.out.print(NewBuilder);

    } main {
	    	Scanner sc = new Scanner(System.in);
	    	int n = sc.nextInt(); //n????????\?????????????????????
	        StringBuilder NewBuilder = new StringBuilder(); 
	    	int [] a  = new int[n];
	    	 
	    	for(int i = 0; i < n ; i++) {
	    		a[i] = sc.nextInt();
	    	}

            for(int i = n; i >= 1; i--){
            	 
                int x = a[i-1];
                NewBuilder.append(x);
     
                if(i == 1){
                    break;
                }
                NewBuilder.append(" ");
            }
            NewBuilder.append("\n");
            System.out.print(NewBuilder);

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc StringBuilder NewBuilder = new StringBuilder(); NewBuilder new StringBuilder() int [] a  = new int[n]; a new int[n] n for(int i = 0; i < n ; i++) {
	    		a[i] = sc.nextInt();
	    	} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
	    		a[i] = sc.nextInt();
	    	} {
	    		a[i] = sc.nextInt();
	    	} a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc for(int i = n; i >= 1; i--){
            	 
                int x = a[i-1];
                NewBuilder.append(x);
     
                if(i == 1){
                    break;
                }
                NewBuilder.append(" ");
            } int i = n; int i = n; i n i >= 1 i 1 i-- i-- i {
            	 
                int x = a[i-1];
                NewBuilder.append(x);
     
                if(i == 1){
                    break;
                }
                NewBuilder.append(" ");
            } {
            	 
                int x = a[i-1];
                NewBuilder.append(x);
     
                if(i == 1){
                    break;
                }
                NewBuilder.append(" ");
            } int x = a[i-1]; x a[i-1] a i-1 i 1 NewBuilder.append(x) NewBuilder.append NewBuilder x if(i == 1){
                    break;
                } i == 1 i 1 {
                    break;
                } break; NewBuilder.append(" ") NewBuilder.append NewBuilder " " NewBuilder.append("\n") NewBuilder.append NewBuilder "\n" System.out.print(NewBuilder) System.out.print System.out System System.out NewBuilder String args[] args public class Main {
	    public static void main(String args[]) {
	    	Scanner sc = new Scanner(System.in);
	    	int n = sc.nextInt(); //n????????\?????????????????????
	        StringBuilder NewBuilder = new StringBuilder(); 
	    	int [] a  = new int[n];
	    	 
	    	for(int i = 0; i < n ; i++) {
	    		a[i] = sc.nextInt();
	    	}

            for(int i = n; i >= 1; i--){
            	 
                int x = a[i-1];
                NewBuilder.append(x);
     
                if(i == 1){
                    break;
                }
                NewBuilder.append(" ");
            }
            NewBuilder.append("\n");
            System.out.print(NewBuilder);

    }	        

} public class Main {
	    public static void main(String args[]) {
	    	Scanner sc = new Scanner(System.in);
	    	int n = sc.nextInt(); //n????????\?????????????????????
	        StringBuilder NewBuilder = new StringBuilder(); 
	    	int [] a  = new int[n];
	    	 
	    	for(int i = 0; i < n ; i++) {
	    		a[i] = sc.nextInt();
	    	}

            for(int i = n; i >= 1; i--){
            	 
                int x = a[i-1];
                NewBuilder.append(x);
     
                if(i == 1){
                    break;
                }
                NewBuilder.append(" ");
            }
            NewBuilder.append("\n");
            System.out.print(NewBuilder);

    }	        

} Main
import java.util.Scanner;
public class Main {
	    public static void main(String args[]) {
	    	Scanner sc = new Scanner(System.in);
	    	int n = sc.nextInt(); //n????????\?????????????????????
	        StringBuilder NewBuilder = new StringBuilder(); 
	    	int [] a  = new int[n];
	    	 
	    	for(int i = 0; i < n ; i++) {
	    		a[i] = sc.nextInt();
	    	}

            for(int i = n; i >= 1; i--){
            	 
                int x = a[i-1];
                NewBuilder.append(x);
     
                if(i == 1){
                    break;
                }
                NewBuilder.append(" ");
            }
            NewBuilder.append("\n");
            System.out.print(NewBuilder);

    }	        

}