import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner std = new Scanner(System.in);
		int n = Integer.parseInt(std.next());
		int array[];
		array = new int[n];
		for (int i=0; i<=n-1; i++){
			array[i] = Integer.parseInt(std.next());
		}
		String ret = "";
		for (int j=n-1; j>=1; j--){
			ret += array[j] + " ";
		}
		ret += array[0];
		System.out.println(ret);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner std = new Scanner(System.in);
		int n = Integer.parseInt(std.next());
		int array[];
		array = new int[n];
		for (int i=0; i<=n-1; i++){
			array[i] = Integer.parseInt(std.next());
		}
		String ret = "";
		for (int j=n-1; j>=1; j--){
			ret += array[j] + " ";
		}
		ret += array[0];
		System.out.println(ret);
	}
} Main public static void main(String[] args){
		Scanner std = new Scanner(System.in);
		int n = Integer.parseInt(std.next());
		int array[];
		array = new int[n];
		for (int i=0; i<=n-1; i++){
			array[i] = Integer.parseInt(std.next());
		}
		String ret = "";
		for (int j=n-1; j>=1; j--){
			ret += array[j] + " ";
		}
		ret += array[0];
		System.out.println(ret);
	} main {
		Scanner std = new Scanner(System.in);
		int n = Integer.parseInt(std.next());
		int array[];
		array = new int[n];
		for (int i=0; i<=n-1; i++){
			array[i] = Integer.parseInt(std.next());
		}
		String ret = "";
		for (int j=n-1; j>=1; j--){
			ret += array[j] + " ";
		}
		ret += array[0];
		System.out.println(ret);
	} Scanner std = new Scanner(System.in); std new Scanner(System.in) int n = Integer.parseInt(std.next()); n Integer.parseInt(std.next()) Integer.parseInt Integer std.next() std.next std int array[]; array array = new int[n] array new int[n] n for (int i=0; i<=n-1; i++){
			array[i] = Integer.parseInt(std.next());
		} int i=0; int i=0; i 0 i<=n-1 i n-1 n 1 i++ i++ i {
			array[i] = Integer.parseInt(std.next());
		} {
			array[i] = Integer.parseInt(std.next());
		} array[i] = Integer.parseInt(std.next()) array[i] array i Integer.parseInt(std.next()) Integer.parseInt Integer std.next() std.next std String ret = ""; ret "" for (int j=n-1; j>=1; j--){
			ret += array[j] + " ";
		} int j=n-1; int j=n-1; j n-1 n 1 j>=1 j 1 j-- j-- j {
			ret += array[j] + " ";
		} {
			ret += array[j] + " ";
		} ret += array[j] + " " ret array[j] + " " array[j] array j " " ret += array[0] ret array[0] array 0 System.out.println(ret) System.out.println System.out System System.out ret String[] args args public class Main {
	public static void main(String[] args){
		Scanner std = new Scanner(System.in);
		int n = Integer.parseInt(std.next());
		int array[];
		array = new int[n];
		for (int i=0; i<=n-1; i++){
			array[i] = Integer.parseInt(std.next());
		}
		String ret = "";
		for (int j=n-1; j>=1; j--){
			ret += array[j] + " ";
		}
		ret += array[0];
		System.out.println(ret);
	}
} public class Main {
	public static void main(String[] args){
		Scanner std = new Scanner(System.in);
		int n = Integer.parseInt(std.next());
		int array[];
		array = new int[n];
		for (int i=0; i<=n-1; i++){
			array[i] = Integer.parseInt(std.next());
		}
		String ret = "";
		for (int j=n-1; j>=1; j--){
			ret += array[j] + " ";
		}
		ret += array[0];
		System.out.println(ret);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner std = new Scanner(System.in);
		int n = Integer.parseInt(std.next());
		int array[];
		array = new int[n];
		for (int i=0; i<=n-1; i++){
			array[i] = Integer.parseInt(std.next());
		}
		String ret = "";
		for (int j=n-1; j>=1; j--){
			ret += array[j] + " ";
		}
		ret += array[0];
		System.out.println(ret);
	}
}