import java.util.Scanner;

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

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