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



public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n=Integer.parseInt(br.readLine());
		String s=br.readLine();
		String[] a=s.split(" ");
		for(int i=a.length;i>0;i--){
			System.out.print(a[i-1]);
			if(i!=1)System.out.print(" ");
		}br.close();System.out.println();
}} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n=Integer.parseInt(br.readLine());
		String s=br.readLine();
		String[] a=s.split(" ");
		for(int i=a.length;i>0;i--){
			System.out.print(a[i-1]);
			if(i!=1)System.out.print(" ");
		}br.close();System.out.println();
}} Main public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n=Integer.parseInt(br.readLine());
		String s=br.readLine();
		String[] a=s.split(" ");
		for(int i=a.length;i>0;i--){
			System.out.print(a[i-1]);
			if(i!=1)System.out.print(" ");
		}br.close();System.out.println();
} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n=Integer.parseInt(br.readLine());
		String s=br.readLine();
		String[] a=s.split(" ");
		for(int i=a.length;i>0;i--){
			System.out.print(a[i-1]);
			if(i!=1)System.out.print(" ");
		}br.close();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 String s=br.readLine(); s br.readLine() br.readLine br String[] a=s.split(" "); a s.split(" ") s.split s " " for(int i=a.length;i>0;i--){
			System.out.print(a[i-1]);
			if(i!=1)System.out.print(" ");
		} int i=a.length; int i=a.length; i a.length a a.length i>0 i 0 i-- i-- i {
			System.out.print(a[i-1]);
			if(i!=1)System.out.print(" ");
		} {
			System.out.print(a[i-1]);
			if(i!=1)System.out.print(" ");
		} System.out.print(a[i-1]) System.out.print System.out System System.out a[i-1] a i-1 i 1 if(i!=1)System.out.print(" "); i!=1 i 1 System.out.print(" ") System.out.print System.out System System.out " " br.close() br.close br System.out.println() System.out.println System.out System System.out String[] args args public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n=Integer.parseInt(br.readLine());
		String s=br.readLine();
		String[] a=s.split(" ");
		for(int i=a.length;i>0;i--){
			System.out.print(a[i-1]);
			if(i!=1)System.out.print(" ");
		}br.close();System.out.println();
}} public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n=Integer.parseInt(br.readLine());
		String s=br.readLine();
		String[] a=s.split(" ");
		for(int i=a.length;i>0;i--){
			System.out.print(a[i-1]);
			if(i!=1)System.out.print(" ");
		}br.close();System.out.println();
}} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;



public class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int n=Integer.parseInt(br.readLine());
		String s=br.readLine();
		String[] a=s.split(" ");
		for(int i=a.length;i>0;i--){
			System.out.print(a[i-1]);
			if(i!=1)System.out.print(" ");
		}br.close();System.out.println();
}}