import java.io.IOException;
import java.util.Scanner;
public class Main {
    public static void main (String args[]) throws IOException {
        Scanner sc = new Scanner(System.in);
        StringBuffer sb = new StringBuffer();
        int a = Integer.parseInt(sc.nextLine());
        String x =sc.nextLine();
        String[] i =x.split(" ");
        String str = i[a-1];
        int b = a-2;
        for (int c=1;c<a;c++){
        	str=str+" "+i[b] ;
        	b = b-1;
        }
        System.out.println(str);
        }


    } import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main (String args[]) throws IOException {
        Scanner sc = new Scanner(System.in);
        StringBuffer sb = new StringBuffer();
        int a = Integer.parseInt(sc.nextLine());
        String x =sc.nextLine();
        String[] i =x.split(" ");
        String str = i[a-1];
        int b = a-2;
        for (int c=1;c<a;c++){
        	str=str+" "+i[b] ;
        	b = b-1;
        }
        System.out.println(str);
        }


    } Main public static void main (String args[]) throws IOException {
        Scanner sc = new Scanner(System.in);
        StringBuffer sb = new StringBuffer();
        int a = Integer.parseInt(sc.nextLine());
        String x =sc.nextLine();
        String[] i =x.split(" ");
        String str = i[a-1];
        int b = a-2;
        for (int c=1;c<a;c++){
        	str=str+" "+i[b] ;
        	b = b-1;
        }
        System.out.println(str);
        } main {
        Scanner sc = new Scanner(System.in);
        StringBuffer sb = new StringBuffer();
        int a = Integer.parseInt(sc.nextLine());
        String x =sc.nextLine();
        String[] i =x.split(" ");
        String str = i[a-1];
        int b = a-2;
        for (int c=1;c<a;c++){
        	str=str+" "+i[b] ;
        	b = b-1;
        }
        System.out.println(str);
        } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) StringBuffer sb = new StringBuffer(); sb new StringBuffer() int a = Integer.parseInt(sc.nextLine()); a Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc String x =sc.nextLine(); x sc.nextLine() sc.nextLine sc String[] i =x.split(" "); i x.split(" ") x.split x " " String str = i[a-1]; str i[a-1] i a-1 a 1 int b = a-2; b a-2 a 2 for (int c=1;c<a;c++){
        	str=str+" "+i[b] ;
        	b = b-1;
        } int c=1; int c=1; c 1 c<a c a c++ c++ c {
        	str=str+" "+i[b] ;
        	b = b-1;
        } {
        	str=str+" "+i[b] ;
        	b = b-1;
        } str=str+" "+i[b] str str+" "+i[b] str+" "+i[b] str " " i[b] i b b = b-1 b b-1 b 1 System.out.println(str) System.out.println System.out System System.out str String args[] args public class Main {
    public static void main (String args[]) throws IOException {
        Scanner sc = new Scanner(System.in);
        StringBuffer sb = new StringBuffer();
        int a = Integer.parseInt(sc.nextLine());
        String x =sc.nextLine();
        String[] i =x.split(" ");
        String str = i[a-1];
        int b = a-2;
        for (int c=1;c<a;c++){
        	str=str+" "+i[b] ;
        	b = b-1;
        }
        System.out.println(str);
        }


    } public class Main {
    public static void main (String args[]) throws IOException {
        Scanner sc = new Scanner(System.in);
        StringBuffer sb = new StringBuffer();
        int a = Integer.parseInt(sc.nextLine());
        String x =sc.nextLine();
        String[] i =x.split(" ");
        String str = i[a-1];
        int b = a-2;
        for (int c=1;c<a;c++){
        	str=str+" "+i[b] ;
        	b = b-1;
        }
        System.out.println(str);
        }


    } Main
import java.io.IOException;
import java.util.Scanner;
public class Main {
    public static void main (String args[]) throws IOException {
        Scanner sc = new Scanner(System.in);
        StringBuffer sb = new StringBuffer();
        int a = Integer.parseInt(sc.nextLine());
        String x =sc.nextLine();
        String[] i =x.split(" ");
        String str = i[a-1];
        int b = a-2;
        for (int c=1;c<a;c++){
        	str=str+" "+i[b] ;
        	b = b-1;
        }
        System.out.println(str);
        }


    }