import java.io.*;

class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] nums = br.readLine().split(" ");
        String reverse = "";
        for (int i = n - 1; i >= 0; i--) {
            reverse += nums[i] + ((i == 0) ? "" : " ");
        }
        System.out.println(reverse);
    }
} import java.io.*; io.* java class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] nums = br.readLine().split(" ");
        String reverse = "";
        for (int i = n - 1; i >= 0; i--) {
            reverse += nums[i] + ((i == 0) ? "" : " ");
        }
        System.out.println(reverse);
    }
} Main public static void main (String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] nums = br.readLine().split(" ");
        String reverse = "";
        for (int i = n - 1; i >= 0; i--) {
            reverse += nums[i] + ((i == 0) ? "" : " ");
        }
        System.out.println(reverse);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] nums = br.readLine().split(" ");
        String reverse = "";
        for (int i = n - 1; i >= 0; i--) {
            reverse += nums[i] + ((i == 0) ? "" : " ");
        }
        System.out.println(reverse);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] nums = br.readLine().split(" "); nums br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " String reverse = ""; reverse "" for (int i = n - 1; i >= 0; i--) {
            reverse += nums[i] + ((i == 0) ? "" : " ");
        } int i = n - 1; int i = n - 1; i n - 1 n 1 i >= 0 i 0 i-- i-- i {
            reverse += nums[i] + ((i == 0) ? "" : " ");
        } {
            reverse += nums[i] + ((i == 0) ? "" : " ");
        } reverse += nums[i] + ((i == 0) ? "" : " ") reverse nums[i] + ((i == 0) ? "" : " ") nums[i] nums i ((i == 0) ? "" : " ") (i == 0) i 0 "" " " System.out.println(reverse) System.out.println System.out System System.out reverse String[] args args
import java.io.*;

class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] nums = br.readLine().split(" ");
        String reverse = "";
        for (int i = n - 1; i >= 0; i--) {
            reverse += nums[i] + ((i == 0) ? "" : " ");
        }
        System.out.println(reverse);
    }
}