import java.io.*;
import java.util.*;

class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
        int[] array=new int[n];
        StringTokenizer st=new StringTokenizer(br.readLine());
        for(int i=0;i<n;i++){
            array[i]=Integer.parseInt(st.nextToken());
        }for(int i=1;i<=n;i++){
            System.out.print(array[n-i]);
            if(i!=n) System.out.print(" ");
        }System.out.println();
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
        int[] array=new int[n];
        StringTokenizer st=new StringTokenizer(br.readLine());
        for(int i=0;i<n;i++){
            array[i]=Integer.parseInt(st.nextToken());
        }for(int i=1;i<=n;i++){
            System.out.print(array[n-i]);
            if(i!=n) System.out.print(" ");
        }System.out.println();
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
        int[] array=new int[n];
        StringTokenizer st=new StringTokenizer(br.readLine());
        for(int i=0;i<n;i++){
            array[i]=Integer.parseInt(st.nextToken());
        }for(int i=1;i<=n;i++){
            System.out.print(array[n-i]);
            if(i!=n) System.out.print(" ");
        }System.out.println();
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
        int[] array=new int[n];
        StringTokenizer st=new StringTokenizer(br.readLine());
        for(int i=0;i<n;i++){
            array[i]=Integer.parseInt(st.nextToken());
        }for(int i=1;i<=n;i++){
            System.out.print(array[n-i]);
            if(i!=n) System.out.print(" ");
        }System.out.println();
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n=Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int[] array=new int[n]; array new int[n] n StringTokenizer st=new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) for(int i=0;i<n;i++){
            array[i]=Integer.parseInt(st.nextToken());
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            array[i]=Integer.parseInt(st.nextToken());
        } {
            array[i]=Integer.parseInt(st.nextToken());
        } array[i]=Integer.parseInt(st.nextToken()) array[i] array i Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st for(int i=1;i<=n;i++){
            System.out.print(array[n-i]);
            if(i!=n) System.out.print(" ");
        } int i=1; int i=1; i 1 i<=n i n i++ i++ i {
            System.out.print(array[n-i]);
            if(i!=n) System.out.print(" ");
        } {
            System.out.print(array[n-i]);
            if(i!=n) System.out.print(" ");
        } System.out.print(array[n-i]) System.out.print System.out System System.out array[n-i] array n-i n i if(i!=n) System.out.print(" "); i!=n i n System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out String[] args args
import java.io.*;
import java.util.*;

class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
        int[] array=new int[n];
        StringTokenizer st=new StringTokenizer(br.readLine());
        for(int i=0;i<n;i++){
            array[i]=Integer.parseInt(st.nextToken());
        }for(int i=1;i<=n;i++){
            System.out.print(array[n-i]);
            if(i!=n) System.out.print(" ");
        }System.out.println();
    }
}