import java.util.Scanner;

public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] x = new int[N];

		for(int i = 0; i < N; i++){
			x[i] = sc.nextInt();
		}

		String A = "";
		for (int j = N - 1; j >= 0; j--){

			A += (x[j]);
			if(j != 0){
				A += " ";
			}
		}
		System.out.println(A);
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] x = new int[N];

		for(int i = 0; i < N; i++){
			x[i] = sc.nextInt();
		}

		String A = "";
		for (int j = N - 1; j >= 0; j--){

			A += (x[j]);
			if(j != 0){
				A += " ";
			}
		}
		System.out.println(A);
	}
} Main public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] x = new int[N];

		for(int i = 0; i < N; i++){
			x[i] = sc.nextInt();
		}

		String A = "";
		for (int j = N - 1; j >= 0; j--){

			A += (x[j]);
			if(j != 0){
				A += " ";
			}
		}
		System.out.println(A);
	} main {

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] x = new int[N];

		for(int i = 0; i < N; i++){
			x[i] = sc.nextInt();
		}

		String A = "";
		for (int j = N - 1; j >= 0; j--){

			A += (x[j]);
			if(j != 0){
				A += " ";
			}
		}
		System.out.println(A);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] x = new int[N]; x new int[N] N for(int i = 0; i < N; i++){
			x[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			x[i] = sc.nextInt();
		} {
			x[i] = sc.nextInt();
		} x[i] = sc.nextInt() x[i] x i sc.nextInt() sc.nextInt sc String A = ""; A "" for (int j = N - 1; j >= 0; j--){

			A += (x[j]);
			if(j != 0){
				A += " ";
			}
		} int j = N - 1; int j = N - 1; j N - 1 N 1 j >= 0 j 0 j-- j-- j {

			A += (x[j]);
			if(j != 0){
				A += " ";
			}
		} {

			A += (x[j]);
			if(j != 0){
				A += " ";
			}
		} A += (x[j]) A (x[j]) x j if(j != 0){
				A += " ";
			} j != 0 j 0 {
				A += " ";
			} A += " " A " " System.out.println(A) System.out.println System.out System System.out A String args[] args public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] x = new int[N];

		for(int i = 0; i < N; i++){
			x[i] = sc.nextInt();
		}

		String A = "";
		for (int j = N - 1; j >= 0; j--){

			A += (x[j]);
			if(j != 0){
				A += " ";
			}
		}
		System.out.println(A);
	}
} public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] x = new int[N];

		for(int i = 0; i < N; i++){
			x[i] = sc.nextInt();
		}

		String A = "";
		for (int j = N - 1; j >= 0; j--){

			A += (x[j]);
			if(j != 0){
				A += " ";
			}
		}
		System.out.println(A);
	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] x = new int[N];

		for(int i = 0; i < N; i++){
			x[i] = sc.nextInt();
		}

		String A = "";
		for (int j = N - 1; j >= 0; j--){

			A += (x[j]);
			if(j != 0){
				A += " ";
			}
		}
		System.out.println(A);
	}
}