import java.util.Scanner;
class Main {
	int n,i;
	int[] a = new int[100];
	public void suzuki(){
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		for(i = 0;i < n;i++){
			a[i] = sc.nextInt();
		}
		for(i = (n - 1);i > 0;i--){
			System.out.print(a[i]);
			System.out.print(" ");
		}
		System.out.println(a[0]);
	}
	public static void main(String[] args){
		new Main().suzuki();
	}
} import java.util.Scanner; Scanner java.util class Main {
	int n,i;
	int[] a = new int[100];
	public void suzuki(){
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		for(i = 0;i < n;i++){
			a[i] = sc.nextInt();
		}
		for(i = (n - 1);i > 0;i--){
			System.out.print(a[i]);
			System.out.print(" ");
		}
		System.out.println(a[0]);
	}
	public static void main(String[] args){
		new Main().suzuki();
	}
} Main int n n i; i int[] a = new int[100]; a new int[100] 100 public void suzuki(){
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		for(i = 0;i < n;i++){
			a[i] = sc.nextInt();
		}
		for(i = (n - 1);i > 0;i--){
			System.out.print(a[i]);
			System.out.print(" ");
		}
		System.out.println(a[0]);
	} suzuki {
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		for(i = 0;i < n;i++){
			a[i] = sc.nextInt();
		}
		for(i = (n - 1);i > 0;i--){
			System.out.print(a[i]);
			System.out.print(" ");
		}
		System.out.println(a[0]);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) n = sc.nextInt() n sc.nextInt() sc.nextInt sc for(i = 0;i < n;i++){
			a[i] = sc.nextInt();
		} i = 0; i = 0 i 0 i < n i n i++ i++ i {
			a[i] = sc.nextInt();
		} {
			a[i] = sc.nextInt();
		} a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc for(i = (n - 1);i > 0;i--){
			System.out.print(a[i]);
			System.out.print(" ");
		} i = (n - 1); i = (n - 1) i (n - 1) n 1 i > 0 i 0 i-- i-- i {
			System.out.print(a[i]);
			System.out.print(" ");
		} {
			System.out.print(a[i]);
			System.out.print(" ");
		} System.out.print(a[i]) System.out.print System.out System System.out a[i] a i System.out.print(" ") System.out.print System.out System System.out " " System.out.println(a[0]) System.out.println System.out System System.out a[0] a 0 public static void main(String[] args){
		new Main().suzuki();
	} main {
		new Main().suzuki();
	} new Main().suzuki() new Main().suzuki new Main() String[] args args
import java.util.Scanner;
class Main {
	int n,i;
	int[] a = new int[100];
	public void suzuki(){
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		for(i = 0;i < n;i++){
			a[i] = sc.nextInt();
		}
		for(i = (n - 1);i > 0;i--){
			System.out.print(a[i]);
			System.out.print(" ");
		}
		System.out.println(a[0]);
	}
	public static void main(String[] args){
		new Main().suzuki();
	}
}