import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
import java.util.List;

public class Main {
    public static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws Exception {
        int n = sc.nextInt();
        long[] ary = new long[n];
        
        for (int i = 0; i < n; i++) {
            ary[n-1-i] = sc.nextLong();
        }
        
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < n; i++) {
            sb.append(ary[i]).append(" ");
        }
        sb.delete(sb.length()-1, sb.length());
        System.out.println(sb.toString());
    }
} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util import java.util.List; List java.util public class Main {
    public static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws Exception {
        int n = sc.nextInt();
        long[] ary = new long[n];
        
        for (int i = 0; i < n; i++) {
            ary[n-1-i] = sc.nextLong();
        }
        
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < n; i++) {
            sb.append(ary[i]).append(" ");
        }
        sb.delete(sb.length()-1, sb.length());
        System.out.println(sb.toString());
    }
} Main public static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) throws Exception {
        int n = sc.nextInt();
        long[] ary = new long[n];
        
        for (int i = 0; i < n; i++) {
            ary[n-1-i] = sc.nextLong();
        }
        
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < n; i++) {
            sb.append(ary[i]).append(" ");
        }
        sb.delete(sb.length()-1, sb.length());
        System.out.println(sb.toString());
    } main {
        int n = sc.nextInt();
        long[] ary = new long[n];
        
        for (int i = 0; i < n; i++) {
            ary[n-1-i] = sc.nextLong();
        }
        
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < n; i++) {
            sb.append(ary[i]).append(" ");
        }
        sb.delete(sb.length()-1, sb.length());
        System.out.println(sb.toString());
    } int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc long[] ary = new long[n]; ary new long[n] n for (int i = 0; i < n; i++) {
            ary[n-1-i] = sc.nextLong();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            ary[n-1-i] = sc.nextLong();
        } {
            ary[n-1-i] = sc.nextLong();
        } ary[n-1-i] = sc.nextLong() ary[n-1-i] ary n-1-i n-1-i n 1 i sc.nextLong() sc.nextLong sc StringBuilder sb = new StringBuilder(); sb new StringBuilder() for (int i = 0; i < n; i++) {
            sb.append(ary[i]).append(" ");
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            sb.append(ary[i]).append(" ");
        } {
            sb.append(ary[i]).append(" ");
        } sb.append(ary[i]).append(" ") sb.append(ary[i]).append sb.append(ary[i]) sb.append sb ary[i] ary i " " sb.delete(sb.length()-1, sb.length()) sb.delete sb sb.length()-1 sb.length() sb.length sb 1 sb.length() sb.length sb System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb String[] args args public class Main {
    public static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws Exception {
        int n = sc.nextInt();
        long[] ary = new long[n];
        
        for (int i = 0; i < n; i++) {
            ary[n-1-i] = sc.nextLong();
        }
        
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < n; i++) {
            sb.append(ary[i]).append(" ");
        }
        sb.delete(sb.length()-1, sb.length());
        System.out.println(sb.toString());
    }
} public class Main {
    public static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws Exception {
        int n = sc.nextInt();
        long[] ary = new long[n];
        
        for (int i = 0; i < n; i++) {
            ary[n-1-i] = sc.nextLong();
        }
        
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < n; i++) {
            sb.append(ary[i]).append(" ");
        }
        sb.delete(sb.length()-1, sb.length());
        System.out.println(sb.toString());
    }
} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
import java.util.List;

public class Main {
    public static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws Exception {
        int n = sc.nextInt();
        long[] ary = new long[n];
        
        for (int i = 0; i < n; i++) {
            ary[n-1-i] = sc.nextLong();
        }
        
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < n; i++) {
            sb.append(ary[i]).append(" ");
        }
        sb.delete(sb.length()-1, sb.length());
        System.out.println(sb.toString());
    }
}