import java.util.Scanner;

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

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