import java.io.*;
public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sbu=new StringBuilder();
        int x=Integer.parseInt(buf.readLine());
        String[] num=buf.readLine().split(" ");
            for(int i=x-1;0<=i;i--){
                sbu.append(num[i]+" ");
                }
            int y=sbu.length();
            sbu.deleteCharAt(y-1);
            System.out.println(sbu);
            }
        } import java.io.*; io.* java public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sbu=new StringBuilder();
        int x=Integer.parseInt(buf.readLine());
        String[] num=buf.readLine().split(" ");
            for(int i=x-1;0<=i;i--){
                sbu.append(num[i]+" ");
                }
            int y=sbu.length();
            sbu.deleteCharAt(y-1);
            System.out.println(sbu);
            }
        } Main public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sbu=new StringBuilder();
        int x=Integer.parseInt(buf.readLine());
        String[] num=buf.readLine().split(" ");
            for(int i=x-1;0<=i;i--){
                sbu.append(num[i]+" ");
                }
            int y=sbu.length();
            sbu.deleteCharAt(y-1);
            System.out.println(sbu);
            } main {
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sbu=new StringBuilder();
        int x=Integer.parseInt(buf.readLine());
        String[] num=buf.readLine().split(" ");
            for(int i=x-1;0<=i;i--){
                sbu.append(num[i]+" ");
                }
            int y=sbu.length();
            sbu.deleteCharAt(y-1);
            System.out.println(sbu);
            } BufferedReader buf=new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) StringBuilder sbu=new StringBuilder(); sbu new StringBuilder() int x=Integer.parseInt(buf.readLine()); x Integer.parseInt(buf.readLine()) Integer.parseInt Integer buf.readLine() buf.readLine buf String[] num=buf.readLine().split(" "); num buf.readLine().split(" ") buf.readLine().split buf.readLine() buf.readLine buf " " for(int i=x-1;0<=i;i--){
                sbu.append(num[i]+" ");
                } int i=x-1; int i=x-1; i x-1 x 1 0<=i 0 i i-- i-- i {
                sbu.append(num[i]+" ");
                } {
                sbu.append(num[i]+" ");
                } sbu.append(num[i]+" ") sbu.append sbu num[i]+" " num[i] num i " " int y=sbu.length(); y sbu.length() sbu.length sbu sbu.deleteCharAt(y-1) sbu.deleteCharAt sbu y-1 y 1 System.out.println(sbu) System.out.println System.out System System.out sbu String[] args args public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sbu=new StringBuilder();
        int x=Integer.parseInt(buf.readLine());
        String[] num=buf.readLine().split(" ");
            for(int i=x-1;0<=i;i--){
                sbu.append(num[i]+" ");
                }
            int y=sbu.length();
            sbu.deleteCharAt(y-1);
            System.out.println(sbu);
            }
        } public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sbu=new StringBuilder();
        int x=Integer.parseInt(buf.readLine());
        String[] num=buf.readLine().split(" ");
            for(int i=x-1;0<=i;i--){
                sbu.append(num[i]+" ");
                }
            int y=sbu.length();
            sbu.deleteCharAt(y-1);
            System.out.println(sbu);
            }
        } Main
import java.io.*;
public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sbu=new StringBuilder();
        int x=Integer.parseInt(buf.readLine());
        String[] num=buf.readLine().split(" ");
            for(int i=x-1;0<=i;i--){
                sbu.append(num[i]+" ");
                }
            int y=sbu.length();
            sbu.deleteCharAt(y-1);
            System.out.println(sbu);
            }
        }