import java.io.*;

class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
        String[] array = br.readLine().split(" ");
        String str=array[N-1];
        for(int i=N-2;i>-1;i--) str+=" "+array[i];
        System.out.println(str);
	}
} import java.io.*; io.* java class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
        String[] array = br.readLine().split(" ");
        String str=array[N-1];
        for(int i=N-2;i>-1;i--) str+=" "+array[i];
        System.out.println(str);
	}
} Main public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
        String[] array = br.readLine().split(" ");
        String str=array[N-1];
        for(int i=N-2;i>-1;i--) str+=" "+array[i];
        System.out.println(str);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
        String[] array = br.readLine().split(" ");
        String str=array[N-1];
        for(int i=N-2;i>-1;i--) str+=" "+array[i];
        System.out.println(str);
	} 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 String[] array = br.readLine().split(" "); array br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " String str=array[N-1]; str array[N-1] array N-1 N 1 for(int i=N-2;i>-1;i--) str+=" "+array[i]; int i=N-2; int i=N-2; i N-2 N 2 i>-1 i -1 1 i-- i-- i str+=" "+array[i]; str+=" "+array[i] str " "+array[i] " " array[i] array i System.out.println(str) System.out.println System.out System System.out str String[] args args
import java.io.*;

class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
        String[] array = br.readLine().split(" ");
        String str=array[N-1];
        for(int i=N-2;i>-1;i--) str+=" "+array[i];
        System.out.println(str);
	}
}