import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int[] A;
        int n;
        n = sc.nextInt();
        A = new int[n];

        for(int i=n-1;i>=0;--i){
            A[i] = sc.nextInt();
        }
        print(A, n);
    }

    public static void print(int A[], int n){
        for(int i=0;i<n;++i){
            System.out.print(A[i]);
            if(i<n-1){System.out.print(" ");}
        }
        System.out.println();
    }
}
 import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int[] A;
        int n;
        n = sc.nextInt();
        A = new int[n];

        for(int i=n-1;i>=0;--i){
            A[i] = sc.nextInt();
        }
        print(A, n);
    }

    public static void print(int A[], int n){
        for(int i=0;i<n;++i){
            System.out.print(A[i]);
            if(i<n-1){System.out.print(" ");}
        }
        System.out.println();
    }
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int[] A;
        int n;
        n = sc.nextInt();
        A = new int[n];

        for(int i=n-1;i>=0;--i){
            A[i] = sc.nextInt();
        }
        print(A, n);
    } main {

        Scanner sc = new Scanner(System.in);
        int[] A;
        int n;
        n = sc.nextInt();
        A = new int[n];

        for(int i=n-1;i>=0;--i){
            A[i] = sc.nextInt();
        }
        print(A, n);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] A; A int n; n n = sc.nextInt() n sc.nextInt() sc.nextInt sc A = new int[n] A new int[n] n for(int i=n-1;i>=0;--i){
            A[i] = sc.nextInt();
        } int i=n-1; int i=n-1; i n-1 n 1 i>=0 i 0 --i --i i {
            A[i] = sc.nextInt();
        } {
            A[i] = sc.nextInt();
        } A[i] = sc.nextInt() A[i] A i sc.nextInt() sc.nextInt sc print(A, n) print A n String[] args args public static void print(int A[], int n){
        for(int i=0;i<n;++i){
            System.out.print(A[i]);
            if(i<n-1){System.out.print(" ");}
        }
        System.out.println();
    } print {
        for(int i=0;i<n;++i){
            System.out.print(A[i]);
            if(i<n-1){System.out.print(" ");}
        }
        System.out.println();
    } for(int i=0;i<n;++i){
            System.out.print(A[i]);
            if(i<n-1){System.out.print(" ");}
        } int i=0; int i=0; i 0 i<n i n ++i ++i i {
            System.out.print(A[i]);
            if(i<n-1){System.out.print(" ");}
        } {
            System.out.print(A[i]);
            if(i<n-1){System.out.print(" ");}
        } System.out.print(A[i]) System.out.print System.out System System.out A[i] A i if(i<n-1){System.out.print(" ");} i<n-1 i n-1 n 1 {System.out.print(" ");} System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out int A[] A int n n public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int[] A;
        int n;
        n = sc.nextInt();
        A = new int[n];

        for(int i=n-1;i>=0;--i){
            A[i] = sc.nextInt();
        }
        print(A, n);
    }

    public static void print(int A[], int n){
        for(int i=0;i<n;++i){
            System.out.print(A[i]);
            if(i<n-1){System.out.print(" ");}
        }
        System.out.println();
    }
} public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int[] A;
        int n;
        n = sc.nextInt();
        A = new int[n];

        for(int i=n-1;i>=0;--i){
            A[i] = sc.nextInt();
        }
        print(A, n);
    }

    public static void print(int A[], int n){
        for(int i=0;i<n;++i){
            System.out.print(A[i]);
            if(i<n-1){System.out.print(" ");}
        }
        System.out.println();
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int[] A;
        int n;
        n = sc.nextInt();
        A = new int[n];

        for(int i=n-1;i>=0;--i){
            A[i] = sc.nextInt();
        }
        print(A, n);
    }

    public static void print(int A[], int n){
        for(int i=0;i<n;++i){
            System.out.print(A[i]);
            if(i<n-1){System.out.print(" ");}
        }
        System.out.println();
    }
}

