import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

    public static void main(String[] args) throws IOException {
        
        BufferedReader std = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(std.readLine());
        String str = std.readLine();
        String[] strs = str.split(" ");
        
        for(int i = strs.length-1; i >= 0; i--){
            if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            }
        }
        System.out.println();
    
    }

} 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 std = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(std.readLine());
        String str = std.readLine();
        String[] strs = str.split(" ");
        
        for(int i = strs.length-1; i >= 0; i--){
            if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            }
        }
        System.out.println();
    
    }

} Main public static void main(String[] args) throws IOException {
        
        BufferedReader std = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(std.readLine());
        String str = std.readLine();
        String[] strs = str.split(" ");
        
        for(int i = strs.length-1; i >= 0; i--){
            if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            }
        }
        System.out.println();
    
    } main {
        
        BufferedReader std = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(std.readLine());
        String str = std.readLine();
        String[] strs = str.split(" ");
        
        for(int i = strs.length-1; i >= 0; i--){
            if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            }
        }
        System.out.println();
    
    } BufferedReader std = new BufferedReader(new InputStreamReader(System.in)); std new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(std.readLine()); n Integer.parseInt(std.readLine()) Integer.parseInt Integer std.readLine() std.readLine std String str = std.readLine(); str std.readLine() std.readLine std String[] strs = str.split(" "); strs str.split(" ") str.split str " " for(int i = strs.length-1; i >= 0; i--){
            if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            }
        } int i = strs.length-1; int i = strs.length-1; i strs.length-1 strs.length strs strs.length 1 i >= 0 i 0 i-- i-- i {
            if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            }
        } {
            if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            }
        } if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            } i != 0 i 0 {
                System.out.print(strs[i] + " ");
            } System.out.print(strs[i] + " ") System.out.print System.out System System.out strs[i] + " " strs[i] strs i " " {
                System.out.print(strs[i]);
            } System.out.print(strs[i]) System.out.print System.out System System.out strs[i] strs i System.out.println() System.out.println System.out System System.out String[] args args public class Main {

    public static void main(String[] args) throws IOException {
        
        BufferedReader std = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(std.readLine());
        String str = std.readLine();
        String[] strs = str.split(" ");
        
        for(int i = strs.length-1; i >= 0; i--){
            if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            }
        }
        System.out.println();
    
    }

} public class Main {

    public static void main(String[] args) throws IOException {
        
        BufferedReader std = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(std.readLine());
        String str = std.readLine();
        String[] strs = str.split(" ");
        
        for(int i = strs.length-1; i >= 0; i--){
            if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            }
        }
        System.out.println();
    
    }

} 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 std = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(std.readLine());
        String str = std.readLine();
        String[] strs = str.split(" ");
        
        for(int i = strs.length-1; i >= 0; i--){
            if(i != 0){
                System.out.print(strs[i] + " ");
            } else {
                System.out.print(strs[i]);
            }
        }
        System.out.println();
    
    }

}