import java.util.Scanner;

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

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