import java.io.*;

class Main {
    public static void main(String args[]) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

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

        for (int i = n - 1; i >= 0; i--) {
            sb.append(str[i] + " ");
        }
        int a = sb.length();
        sb.deleteCharAt(a-1);
        System.out.println(sb);
    }
} import java.io.*; io.* java class Main {
    public static void main(String args[]) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

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

        for (int i = n - 1; i >= 0; i--) {
            sb.append(str[i] + " ");
        }
        int a = sb.length();
        sb.deleteCharAt(a-1);
        System.out.println(sb);
    }
} Main public static void main(String args[]) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

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

        for (int i = n - 1; i >= 0; i--) {
            sb.append(str[i] + " ");
        }
        int a = sb.length();
        sb.deleteCharAt(a-1);
        System.out.println(sb);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

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

        for (int i = n - 1; i >= 0; i--) {
            sb.append(str[i] + " ");
        }
        int a = sb.length();
        sb.deleteCharAt(a-1);
        System.out.println(sb);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] str = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for (int i = n - 1; i >= 0; i--) {
            sb.append(str[i] + " ");
        } int i = n - 1; int i = n - 1; i n - 1 n 1 i >= 0 i 0 i-- i-- i {
            sb.append(str[i] + " ");
        } {
            sb.append(str[i] + " ");
        } sb.append(str[i] + " ") sb.append sb str[i] + " " str[i] str i " " int a = sb.length(); a sb.length() sb.length sb sb.deleteCharAt(a-1) sb.deleteCharAt sb a-1 a 1 System.out.println(sb) System.out.println System.out System System.out sb String args[] args
import java.io.*;

class Main {
    public static void main(String args[]) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

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

        for (int i = n - 1; i >= 0; i--) {
            sb.append(str[i] + " ");
        }
        int a = sb.length();
        sb.deleteCharAt(a-1);
        System.out.println(sb);
    }
}