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));
        StringBuilder output = new StringBuilder();

        String input = br.readLine();
        int n = Integer.parseInt(input);
        input = br.readLine();
        String[] strArray = input.split(" ");

        for(int i = n; i >= 1; i--){

            int x = Integer.parseInt(strArray[i-1]);
            output.append(x);

            if(i == 1){
                break;
            }
            output.append(" ");
        }
        output.append("\n");
        System.out.print(output);
    }
} 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));
        StringBuilder output = new StringBuilder();

        String input = br.readLine();
        int n = Integer.parseInt(input);
        input = br.readLine();
        String[] strArray = input.split(" ");

        for(int i = n; i >= 1; i--){

            int x = Integer.parseInt(strArray[i-1]);
            output.append(x);

            if(i == 1){
                break;
            }
            output.append(" ");
        }
        output.append("\n");
        System.out.print(output);
    }
} Main public static void main(String[] args) throws IOException {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder output = new StringBuilder();

        String input = br.readLine();
        int n = Integer.parseInt(input);
        input = br.readLine();
        String[] strArray = input.split(" ");

        for(int i = n; i >= 1; i--){

            int x = Integer.parseInt(strArray[i-1]);
            output.append(x);

            if(i == 1){
                break;
            }
            output.append(" ");
        }
        output.append("\n");
        System.out.print(output);
    } main {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder output = new StringBuilder();

        String input = br.readLine();
        int n = Integer.parseInt(input);
        input = br.readLine();
        String[] strArray = input.split(" ");

        for(int i = n; i >= 1; i--){

            int x = Integer.parseInt(strArray[i-1]);
            output.append(x);

            if(i == 1){
                break;
            }
            output.append(" ");
        }
        output.append("\n");
        System.out.print(output);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder output = new StringBuilder(); output new StringBuilder() String input = br.readLine(); input br.readLine() br.readLine br int n = Integer.parseInt(input); n Integer.parseInt(input) Integer.parseInt Integer input input = br.readLine() input br.readLine() br.readLine br String[] strArray = input.split(" "); strArray input.split(" ") input.split input " " for(int i = n; i >= 1; i--){

            int x = Integer.parseInt(strArray[i-1]);
            output.append(x);

            if(i == 1){
                break;
            }
            output.append(" ");
        } int i = n; int i = n; i n i >= 1 i 1 i-- i-- i {

            int x = Integer.parseInt(strArray[i-1]);
            output.append(x);

            if(i == 1){
                break;
            }
            output.append(" ");
        } {

            int x = Integer.parseInt(strArray[i-1]);
            output.append(x);

            if(i == 1){
                break;
            }
            output.append(" ");
        } int x = Integer.parseInt(strArray[i-1]); x Integer.parseInt(strArray[i-1]) Integer.parseInt Integer strArray[i-1] strArray i-1 i 1 output.append(x) output.append output x if(i == 1){
                break;
            } i == 1 i 1 {
                break;
            } break; output.append(" ") output.append output " " output.append("\n") output.append output "\n" System.out.print(output) System.out.print System.out System System.out output String[] args args public class Main {

    public static void main(String[] args) throws IOException {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder output = new StringBuilder();

        String input = br.readLine();
        int n = Integer.parseInt(input);
        input = br.readLine();
        String[] strArray = input.split(" ");

        for(int i = n; i >= 1; i--){

            int x = Integer.parseInt(strArray[i-1]);
            output.append(x);

            if(i == 1){
                break;
            }
            output.append(" ");
        }
        output.append("\n");
        System.out.print(output);
    }
} public class Main {

    public static void main(String[] args) throws IOException {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder output = new StringBuilder();

        String input = br.readLine();
        int n = Integer.parseInt(input);
        input = br.readLine();
        String[] strArray = input.split(" ");

        for(int i = n; i >= 1; i--){

            int x = Integer.parseInt(strArray[i-1]);
            output.append(x);

            if(i == 1){
                break;
            }
            output.append(" ");
        }
        output.append("\n");
        System.out.print(output);
    }
} 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));
        StringBuilder output = new StringBuilder();

        String input = br.readLine();
        int n = Integer.parseInt(input);
        input = br.readLine();
        String[] strArray = input.split(" ");

        for(int i = n; i >= 1; i--){

            int x = Integer.parseInt(strArray[i-1]);
            output.append(x);

            if(i == 1){
                break;
            }
            output.append(" ");
        }
        output.append("\n");
        System.out.print(output);
    }
}