
import java.util.Scanner;

class Main {
    public static void main(String args[]){
		
	Scanner sc = new Scanner(System.in);
		
	//数列の長さを最初に、そのあとに数を受け取っていく
	String s1 = sc.next();
        int n = Integer.parseInt(s1);
        int a[] = new int[n];
        for(int i = 0;i < a.length; i++){
            String s2 = sc.next();
            a[i] = Integer.parseInt(s2);
        }
        
        //受け取った順番と逆の順番で出力する
        for(int i = (a.length - 1); i >= 0; i--){
            if(i != 0){
        	System.out.print(a[i] + " ");
            }
            else{
        	System.out.println(a[i]);
            }
        }
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String args[]){
		
	Scanner sc = new Scanner(System.in);
		
	//数列の長さを最初に、そのあとに数を受け取っていく
	String s1 = sc.next();
        int n = Integer.parseInt(s1);
        int a[] = new int[n];
        for(int i = 0;i < a.length; i++){
            String s2 = sc.next();
            a[i] = Integer.parseInt(s2);
        }
        
        //受け取った順番と逆の順番で出力する
        for(int i = (a.length - 1); i >= 0; i--){
            if(i != 0){
        	System.out.print(a[i] + " ");
            }
            else{
        	System.out.println(a[i]);
            }
        }
    }
} Main public static void main(String args[]){
		
	Scanner sc = new Scanner(System.in);
		
	//数列の長さを最初に、そのあとに数を受け取っていく
	String s1 = sc.next();
        int n = Integer.parseInt(s1);
        int a[] = new int[n];
        for(int i = 0;i < a.length; i++){
            String s2 = sc.next();
            a[i] = Integer.parseInt(s2);
        }
        
        //受け取った順番と逆の順番で出力する
        for(int i = (a.length - 1); i >= 0; i--){
            if(i != 0){
        	System.out.print(a[i] + " ");
            }
            else{
        	System.out.println(a[i]);
            }
        }
    } main {
		
	Scanner sc = new Scanner(System.in);
		
	//数列の長さを最初に、そのあとに数を受け取っていく
	String s1 = sc.next();
        int n = Integer.parseInt(s1);
        int a[] = new int[n];
        for(int i = 0;i < a.length; i++){
            String s2 = sc.next();
            a[i] = Integer.parseInt(s2);
        }
        
        //受け取った順番と逆の順番で出力する
        for(int i = (a.length - 1); i >= 0; i--){
            if(i != 0){
        	System.out.print(a[i] + " ");
            }
            else{
        	System.out.println(a[i]);
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s1 = sc.next(); s1 sc.next() sc.next sc int n = Integer.parseInt(s1); n Integer.parseInt(s1) Integer.parseInt Integer s1 int a[] = new int[n]; a new int[n] n for(int i = 0;i < a.length; i++){
            String s2 = sc.next();
            a[i] = Integer.parseInt(s2);
        } int i = 0; int i = 0; i 0 i < a.length i a.length a a.length i++ i++ i {
            String s2 = sc.next();
            a[i] = Integer.parseInt(s2);
        } {
            String s2 = sc.next();
            a[i] = Integer.parseInt(s2);
        } String s2 = sc.next(); s2 sc.next() sc.next sc a[i] = Integer.parseInt(s2) a[i] a i Integer.parseInt(s2) Integer.parseInt Integer s2 for(int i = (a.length - 1); i >= 0; i--){
            if(i != 0){
        	System.out.print(a[i] + " ");
            }
            else{
        	System.out.println(a[i]);
            }
        } int i = (a.length - 1); int i = (a.length - 1); i (a.length - 1) a.length a a.length 1 i >= 0 i 0 i-- i-- i {
            if(i != 0){
        	System.out.print(a[i] + " ");
            }
            else{
        	System.out.println(a[i]);
            }
        } {
            if(i != 0){
        	System.out.print(a[i] + " ");
            }
            else{
        	System.out.println(a[i]);
            }
        } if(i != 0){
        	System.out.print(a[i] + " ");
            }
            else{
        	System.out.println(a[i]);
            } i != 0 i 0 {
        	System.out.print(a[i] + " ");
            } System.out.print(a[i] + " ") System.out.print System.out System System.out a[i] + " " a[i] a i " " {
        	System.out.println(a[i]);
            } System.out.println(a[i]) System.out.println System.out System System.out a[i] a i String args[] args

import java.util.Scanner;

class Main {
    public static void main(String args[]){
		
	Scanner sc = new Scanner(System.in);
		
	//数列の長さを最初に、そのあとに数を受け取っていく
	String s1 = sc.next();
        int n = Integer.parseInt(s1);
        int a[] = new int[n];
        for(int i = 0;i < a.length; i++){
            String s2 = sc.next();
            a[i] = Integer.parseInt(s2);
        }
        
        //受け取った順番と逆の順番で出力する
        for(int i = (a.length - 1); i >= 0; i--){
            if(i != 0){
        	System.out.print(a[i] + " ");
            }
            else{
        	System.out.println(a[i]);
            }
        }
    }
}