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 - 1); i >= 0; i--) {
            int x = Integer.parseInt(strArray[i]);
            output.append(x);
            if(i == 0){
                break;
            }
            output.append(" ");
        }
        output.append("\n");

        try {
            System.out.print(output);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
} 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 - 1); i >= 0; i--) {
            int x = Integer.parseInt(strArray[i]);
            output.append(x);
            if(i == 0){
                break;
            }
            output.append(" ");
        }
        output.append("\n");

        try {
            System.out.print(output);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
} 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 - 1); i >= 0; i--) {
            int x = Integer.parseInt(strArray[i]);
            output.append(x);
            if(i == 0){
                break;
            }
            output.append(" ");
        }
        output.append("\n");

        try {
            System.out.print(output);
        } catch (Exception e) {
            e.printStackTrace();
        }
    } 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 - 1); i >= 0; i--) {
            int x = Integer.parseInt(strArray[i]);
            output.append(x);
            if(i == 0){
                break;
            }
            output.append(" ");
        }
        output.append("\n");

        try {
            System.out.print(output);
        } catch (Exception e) {
            e.printStackTrace();
        }
    } 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 - 1); i >= 0; i--) {
            int x = Integer.parseInt(strArray[i]);
            output.append(x);
            if(i == 0){
                break;
            }
            output.append(" ");
        } int i = (n - 1); int i = (n - 1); i (n - 1) n 1 i >= 0 i 0 i-- i-- i {
            int x = Integer.parseInt(strArray[i]);
            output.append(x);
            if(i == 0){
                break;
            }
            output.append(" ");
        } {
            int x = Integer.parseInt(strArray[i]);
            output.append(x);
            if(i == 0){
                break;
            }
            output.append(" ");
        } int x = Integer.parseInt(strArray[i]); x Integer.parseInt(strArray[i]) Integer.parseInt Integer strArray[i] strArray i output.append(x) output.append output x if(i == 0){
                break;
            } i == 0 i 0 {
                break;
            } break; output.append(" ") output.append output " " output.append("\n") output.append output "\n" try {
            System.out.print(output);
        } catch (Exception e) {
            e.printStackTrace();
        } catch (Exception e) {
            e.printStackTrace();
        } Exception e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            System.out.print(output);
        } 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 - 1); i >= 0; i--) {
            int x = Integer.parseInt(strArray[i]);
            output.append(x);
            if(i == 0){
                break;
            }
            output.append(" ");
        }
        output.append("\n");

        try {
            System.out.print(output);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
} 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 - 1); i >= 0; i--) {
            int x = Integer.parseInt(strArray[i]);
            output.append(x);
            if(i == 0){
                break;
            }
            output.append(" ");
        }
        output.append("\n");

        try {
            System.out.print(output);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
} 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 - 1); i >= 0; i--) {
            int x = Integer.parseInt(strArray[i]);
            output.append(x);
            if(i == 0){
                break;
            }
            output.append(" ");
        }
        output.append("\n");

        try {
            System.out.print(output);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}