import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int x[] = new int[n];
        int i;

        for(i = 0;i < n;i++){
            x[i] = sc.nextInt();
        }

        for(i = n - 1;i >= 0;i--){
            if(i == 0){
                System.out.printf("%d\n",x[i]);
            }else{
                System.out.printf("%d ",x[i]);
            }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int x[] = new int[n];
        int i;

        for(i = 0;i < n;i++){
            x[i] = sc.nextInt();
        }

        for(i = n - 1;i >= 0;i--){
            if(i == 0){
                System.out.printf("%d\n",x[i]);
            }else{
                System.out.printf("%d ",x[i]);
            }
        }
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int x[] = new int[n];
        int i;

        for(i = 0;i < n;i++){
            x[i] = sc.nextInt();
        }

        for(i = n - 1;i >= 0;i--){
            if(i == 0){
                System.out.printf("%d\n",x[i]);
            }else{
                System.out.printf("%d ",x[i]);
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int x[] = new int[n];
        int i;

        for(i = 0;i < n;i++){
            x[i] = sc.nextInt();
        }

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

        int n = sc.nextInt();
        int x[] = new int[n];
        int i;

        for(i = 0;i < n;i++){
            x[i] = sc.nextInt();
        }

        for(i = n - 1;i >= 0;i--){
            if(i == 0){
                System.out.printf("%d\n",x[i]);
            }else{
                System.out.printf("%d ",x[i]);
            }
        }
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int x[] = new int[n];
        int i;

        for(i = 0;i < n;i++){
            x[i] = sc.nextInt();
        }

        for(i = n - 1;i >= 0;i--){
            if(i == 0){
                System.out.printf("%d\n",x[i]);
            }else{
                System.out.printf("%d ",x[i]);
            }
        }
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int x[] = new int[n];
        int i;

        for(i = 0;i < n;i++){
            x[i] = sc.nextInt();
        }

        for(i = n - 1;i >= 0;i--){
            if(i == 0){
                System.out.printf("%d\n",x[i]);
            }else{
                System.out.printf("%d ",x[i]);
            }
        }
    }
}
