import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner S = new Scanner(System.in);
		
		int N = S.nextInt();
		int[] data = new int[N];
		
		for(int i = 0;i < N;i++){
			data[i] = S.nextInt();
		}
		
		for(int i = N - 1;i >= 0;i--){
			if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" ");
		}
		
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner S = new Scanner(System.in);
		
		int N = S.nextInt();
		int[] data = new int[N];
		
		for(int i = 0;i < N;i++){
			data[i] = S.nextInt();
		}
		
		for(int i = N - 1;i >= 0;i--){
			if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" ");
		}
		
	}
} Main public static void main(String[] args){
		Scanner S = new Scanner(System.in);
		
		int N = S.nextInt();
		int[] data = new int[N];
		
		for(int i = 0;i < N;i++){
			data[i] = S.nextInt();
		}
		
		for(int i = N - 1;i >= 0;i--){
			if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" ");
		}
		
	} main {
		Scanner S = new Scanner(System.in);
		
		int N = S.nextInt();
		int[] data = new int[N];
		
		for(int i = 0;i < N;i++){
			data[i] = S.nextInt();
		}
		
		for(int i = N - 1;i >= 0;i--){
			if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" ");
		}
		
	} Scanner S = new Scanner(System.in); S new Scanner(System.in) int N = S.nextInt(); N S.nextInt() S.nextInt S int[] data = new int[N]; data new int[N] N for(int i = 0;i < N;i++){
			data[i] = S.nextInt();
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			data[i] = S.nextInt();
		} {
			data[i] = S.nextInt();
		} data[i] = S.nextInt() data[i] data i S.nextInt() S.nextInt S for(int i = N - 1;i >= 0;i--){
			if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" ");
		} int i = N - 1; int i = N - 1; i N - 1 N 1 i >= 0 i 0 i-- i-- i {
			if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" ");
		} {
			if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" ");
		} if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" "); i == 0 i 0 System.out.println(data[i]) System.out.println System.out System System.out data[i] data i System.out.print(data[i]+" ") System.out.print System.out System System.out data[i]+" " data[i] data i " " String[] args args public class Main{
	public static void main(String[] args){
		Scanner S = new Scanner(System.in);
		
		int N = S.nextInt();
		int[] data = new int[N];
		
		for(int i = 0;i < N;i++){
			data[i] = S.nextInt();
		}
		
		for(int i = N - 1;i >= 0;i--){
			if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" ");
		}
		
	}
} public class Main{
	public static void main(String[] args){
		Scanner S = new Scanner(System.in);
		
		int N = S.nextInt();
		int[] data = new int[N];
		
		for(int i = 0;i < N;i++){
			data[i] = S.nextInt();
		}
		
		for(int i = N - 1;i >= 0;i--){
			if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" ");
		}
		
	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner S = new Scanner(System.in);
		
		int N = S.nextInt();
		int[] data = new int[N];
		
		for(int i = 0;i < N;i++){
			data[i] = S.nextInt();
		}
		
		for(int i = N - 1;i >= 0;i--){
			if(i == 0)
				System.out.println(data[i]);
			else
				System.out.print(data[i]+" ");
		}
		
	}
}