import java.io.*;
public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb=new StringBuilder();
		String str=input.readLine();
		int n=Integer.parseInt(str);
		String str2=input.readLine();
		String[] arr=str2.split(" ");
		int[] number=new int[n];

		for(int i=0;i<n;i++){
			number[n-i-1]=Integer.parseInt(arr[i]);
		}
		for(int i=0;i<number.length;i++){
			sb.append(number[i]);
			if(!(i==n-1)){
			sb.append(" ");
			}
		}
	
		
		System.out.println(sb);
	}
} import java.io.*; io.* java public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb=new StringBuilder();
		String str=input.readLine();
		int n=Integer.parseInt(str);
		String str2=input.readLine();
		String[] arr=str2.split(" ");
		int[] number=new int[n];

		for(int i=0;i<n;i++){
			number[n-i-1]=Integer.parseInt(arr[i]);
		}
		for(int i=0;i<number.length;i++){
			sb.append(number[i]);
			if(!(i==n-1)){
			sb.append(" ");
			}
		}
	
		
		System.out.println(sb);
	}
} Main public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb=new StringBuilder();
		String str=input.readLine();
		int n=Integer.parseInt(str);
		String str2=input.readLine();
		String[] arr=str2.split(" ");
		int[] number=new int[n];

		for(int i=0;i<n;i++){
			number[n-i-1]=Integer.parseInt(arr[i]);
		}
		for(int i=0;i<number.length;i++){
			sb.append(number[i]);
			if(!(i==n-1)){
			sb.append(" ");
			}
		}
	
		
		System.out.println(sb);
	} main {
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb=new StringBuilder();
		String str=input.readLine();
		int n=Integer.parseInt(str);
		String str2=input.readLine();
		String[] arr=str2.split(" ");
		int[] number=new int[n];

		for(int i=0;i<n;i++){
			number[n-i-1]=Integer.parseInt(arr[i]);
		}
		for(int i=0;i<number.length;i++){
			sb.append(number[i]);
			if(!(i==n-1)){
			sb.append(" ");
			}
		}
	
		
		System.out.println(sb);
	} BufferedReader input=new BufferedReader(new InputStreamReader(System.in)); input new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb=new StringBuilder(); sb new StringBuilder() String str=input.readLine(); str input.readLine() input.readLine input int n=Integer.parseInt(str); n Integer.parseInt(str) Integer.parseInt Integer str String str2=input.readLine(); str2 input.readLine() input.readLine input String[] arr=str2.split(" "); arr str2.split(" ") str2.split str2 " " int[] number=new int[n]; number new int[n] n for(int i=0;i<n;i++){
			number[n-i-1]=Integer.parseInt(arr[i]);
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			number[n-i-1]=Integer.parseInt(arr[i]);
		} {
			number[n-i-1]=Integer.parseInt(arr[i]);
		} number[n-i-1]=Integer.parseInt(arr[i]) number[n-i-1] number n-i-1 n-i-1 n i 1 Integer.parseInt(arr[i]) Integer.parseInt Integer arr[i] arr i for(int i=0;i<number.length;i++){
			sb.append(number[i]);
			if(!(i==n-1)){
			sb.append(" ");
			}
		} int i=0; int i=0; i 0 i<number.length i number.length number number.length i++ i++ i {
			sb.append(number[i]);
			if(!(i==n-1)){
			sb.append(" ");
			}
		} {
			sb.append(number[i]);
			if(!(i==n-1)){
			sb.append(" ");
			}
		} sb.append(number[i]) sb.append sb number[i] number i if(!(i==n-1)){
			sb.append(" ");
			} !(i==n-1) (i==n-1) i n-1 n 1 {
			sb.append(" ");
			} sb.append(" ") sb.append sb " " System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb=new StringBuilder();
		String str=input.readLine();
		int n=Integer.parseInt(str);
		String str2=input.readLine();
		String[] arr=str2.split(" ");
		int[] number=new int[n];

		for(int i=0;i<n;i++){
			number[n-i-1]=Integer.parseInt(arr[i]);
		}
		for(int i=0;i<number.length;i++){
			sb.append(number[i]);
			if(!(i==n-1)){
			sb.append(" ");
			}
		}
	
		
		System.out.println(sb);
	}
} public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb=new StringBuilder();
		String str=input.readLine();
		int n=Integer.parseInt(str);
		String str2=input.readLine();
		String[] arr=str2.split(" ");
		int[] number=new int[n];

		for(int i=0;i<n;i++){
			number[n-i-1]=Integer.parseInt(arr[i]);
		}
		for(int i=0;i<number.length;i++){
			sb.append(number[i]);
			if(!(i==n-1)){
			sb.append(" ");
			}
		}
	
		
		System.out.println(sb);
	}
} Main
import java.io.*;
public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb=new StringBuilder();
		String str=input.readLine();
		int n=Integer.parseInt(str);
		String str2=input.readLine();
		String[] arr=str2.split(" ");
		int[] number=new int[n];

		for(int i=0;i<n;i++){
			number[n-i-1]=Integer.parseInt(arr[i]);
		}
		for(int i=0;i<number.length;i++){
			sb.append(number[i]);
			if(!(i==n-1)){
			sb.append(" ");
			}
		}
	
		
		System.out.println(sb);
	}
}