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

class Main{
    private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    private static final PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] Args) throws IOException{
        Integer.parseInt(br.readLine());
        final String[] a = br.readLine().split(" ");
        for(int i = a.length-1; i>=0; i--){
            out.print(a[i]);
            if(i!=0) out.print(' ');
        }
        out.println();
        out.flush();
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.PrintWriter; PrintWriter java.io class Main{
    private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    private static final PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] Args) throws IOException{
        Integer.parseInt(br.readLine());
        final String[] a = br.readLine().split(" ");
        for(int i = a.length-1; i>=0; i--){
            out.print(a[i]);
            if(i!=0) out.print(' ');
        }
        out.println();
        out.flush();
    }
} Main private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) private static final PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) public static void main(String[] Args) throws IOException{
        Integer.parseInt(br.readLine());
        final String[] a = br.readLine().split(" ");
        for(int i = a.length-1; i>=0; i--){
            out.print(a[i]);
            if(i!=0) out.print(' ');
        }
        out.println();
        out.flush();
    } main {
        Integer.parseInt(br.readLine());
        final String[] a = br.readLine().split(" ");
        for(int i = a.length-1; i>=0; i--){
            out.print(a[i]);
            if(i!=0) out.print(' ');
        }
        out.println();
        out.flush();
    } Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br final String[] a = br.readLine().split(" "); a br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for(int i = a.length-1; i>=0; i--){
            out.print(a[i]);
            if(i!=0) out.print(' ');
        } int i = a.length-1; int i = a.length-1; i a.length-1 a.length a a.length 1 i>=0 i 0 i-- i-- i {
            out.print(a[i]);
            if(i!=0) out.print(' ');
        } {
            out.print(a[i]);
            if(i!=0) out.print(' ');
        } out.print(a[i]) out.print out a[i] a i if(i!=0) out.print(' '); i!=0 i 0 out.print(' ') out.print out ' ' out.println() out.println out out.flush() out.flush out String[] Args Args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

class Main{
    private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    private static final PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] Args) throws IOException{
        Integer.parseInt(br.readLine());
        final String[] a = br.readLine().split(" ");
        for(int i = a.length-1; i>=0; i--){
            out.print(a[i]);
            if(i!=0) out.print(' ');
        }
        out.println();
        out.flush();
    }
}