import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String kosu=br.readLine();
            int nako=Integer.parseInt(kosu);
            String strArr[] = br.readLine().split(" ");
            int[] a=new int[nako];

            for(int j=0; j<nako; j++){
                a[j]=Integer.parseInt(strArr[j]);
            }

            String aa="";
            for(int i=nako-1; i>=1; i--){
                aa=aa+""+(a[i]+" ");
            }aa=aa+""+a[0];

            System.out.println(aa);
            aa="";



    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String kosu=br.readLine();
            int nako=Integer.parseInt(kosu);
            String strArr[] = br.readLine().split(" ");
            int[] a=new int[nako];

            for(int j=0; j<nako; j++){
                a[j]=Integer.parseInt(strArr[j]);
            }

            String aa="";
            for(int i=nako-1; i>=1; i--){
                aa=aa+""+(a[i]+" ");
            }aa=aa+""+a[0];

            System.out.println(aa);
            aa="";



    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String kosu=br.readLine();
            int nako=Integer.parseInt(kosu);
            String strArr[] = br.readLine().split(" ");
            int[] a=new int[nako];

            for(int j=0; j<nako; j++){
                a[j]=Integer.parseInt(strArr[j]);
            }

            String aa="";
            for(int i=nako-1; i>=1; i--){
                aa=aa+""+(a[i]+" ");
            }aa=aa+""+a[0];

            System.out.println(aa);
            aa="";



    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String kosu=br.readLine();
            int nako=Integer.parseInt(kosu);
            String strArr[] = br.readLine().split(" ");
            int[] a=new int[nako];

            for(int j=0; j<nako; j++){
                a[j]=Integer.parseInt(strArr[j]);
            }

            String aa="";
            for(int i=nako-1; i>=1; i--){
                aa=aa+""+(a[i]+" ");
            }aa=aa+""+a[0];

            System.out.println(aa);
            aa="";



    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String kosu=br.readLine(); kosu br.readLine() br.readLine br int nako=Integer.parseInt(kosu); nako Integer.parseInt(kosu) Integer.parseInt Integer kosu String strArr[] = br.readLine().split(" "); strArr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int[] a=new int[nako]; a new int[nako] nako for(int j=0; j<nako; j++){
                a[j]=Integer.parseInt(strArr[j]);
            } int j=0; int j=0; j 0 j<nako j nako j++ j++ j {
                a[j]=Integer.parseInt(strArr[j]);
            } {
                a[j]=Integer.parseInt(strArr[j]);
            } a[j]=Integer.parseInt(strArr[j]) a[j] a j Integer.parseInt(strArr[j]) Integer.parseInt Integer strArr[j] strArr j String aa=""; aa "" for(int i=nako-1; i>=1; i--){
                aa=aa+""+(a[i]+" ");
            } int i=nako-1; int i=nako-1; i nako-1 nako 1 i>=1 i 1 i-- i-- i {
                aa=aa+""+(a[i]+" ");
            } {
                aa=aa+""+(a[i]+" ");
            } aa=aa+""+(a[i]+" ") aa aa+""+(a[i]+" ") aa+""+(a[i]+" ") aa "" (a[i]+" ") a[i] a i " " aa=aa+""+a[0] aa aa+""+a[0] aa+""+a[0] aa "" a[0] a 0 System.out.println(aa) System.out.println System.out System System.out aa aa="" aa "" String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

            String kosu=br.readLine();
            int nako=Integer.parseInt(kosu);
            String strArr[] = br.readLine().split(" ");
            int[] a=new int[nako];

            for(int j=0; j<nako; j++){
                a[j]=Integer.parseInt(strArr[j]);
            }

            String aa="";
            for(int i=nako-1; i>=1; i--){
                aa=aa+""+(a[i]+" ");
            }aa=aa+""+a[0];

            System.out.println(aa);
            aa="";



    }
}