import java.util.Scanner;

class Main{
	public static void main(String[] args) 	{
		Scanner sc = new Scanner(System.in);
		int num[];
		int nagasa = sc.nextInt();
		num = new int[nagasa];
		for(int i = 0; i < nagasa ; i++) {
			num[i] = sc.nextInt();
		}
		for(int j = nagasa - 1; j >= 0 ; j--) {
			System.out.printf("%d", num[j]);
			if(j != 0) System.out.printf(" ");
		}
		System.out.printf("\n");
		sc.close();
	}	
} import java.util.Scanner; Scanner java.util class Main{
	public static void main(String[] args) 	{
		Scanner sc = new Scanner(System.in);
		int num[];
		int nagasa = sc.nextInt();
		num = new int[nagasa];
		for(int i = 0; i < nagasa ; i++) {
			num[i] = sc.nextInt();
		}
		for(int j = nagasa - 1; j >= 0 ; j--) {
			System.out.printf("%d", num[j]);
			if(j != 0) System.out.printf(" ");
		}
		System.out.printf("\n");
		sc.close();
	}	
} Main public static void main(String[] args) 	{
		Scanner sc = new Scanner(System.in);
		int num[];
		int nagasa = sc.nextInt();
		num = new int[nagasa];
		for(int i = 0; i < nagasa ; i++) {
			num[i] = sc.nextInt();
		}
		for(int j = nagasa - 1; j >= 0 ; j--) {
			System.out.printf("%d", num[j]);
			if(j != 0) System.out.printf(" ");
		}
		System.out.printf("\n");
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		int num[];
		int nagasa = sc.nextInt();
		num = new int[nagasa];
		for(int i = 0; i < nagasa ; i++) {
			num[i] = sc.nextInt();
		}
		for(int j = nagasa - 1; j >= 0 ; j--) {
			System.out.printf("%d", num[j]);
			if(j != 0) System.out.printf(" ");
		}
		System.out.printf("\n");
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num[]; num int nagasa = sc.nextInt(); nagasa sc.nextInt() sc.nextInt sc num = new int[nagasa] num new int[nagasa] nagasa for(int i = 0; i < nagasa ; i++) {
			num[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < nagasa i nagasa i++ i++ i {
			num[i] = sc.nextInt();
		} {
			num[i] = sc.nextInt();
		} num[i] = sc.nextInt() num[i] num i sc.nextInt() sc.nextInt sc for(int j = nagasa - 1; j >= 0 ; j--) {
			System.out.printf("%d", num[j]);
			if(j != 0) System.out.printf(" ");
		} int j = nagasa - 1; int j = nagasa - 1; j nagasa - 1 nagasa 1 j >= 0 j 0 j-- j-- j {
			System.out.printf("%d", num[j]);
			if(j != 0) System.out.printf(" ");
		} {
			System.out.printf("%d", num[j]);
			if(j != 0) System.out.printf(" ");
		} System.out.printf("%d", num[j]) System.out.printf System.out System System.out "%d" num[j] num j if(j != 0) System.out.printf(" "); j != 0 j 0 System.out.printf(" ") System.out.printf System.out System System.out " " System.out.printf("\n") System.out.printf System.out System System.out "\n" sc.close() sc.close sc String[] args args
import java.util.Scanner;

class Main{
	public static void main(String[] args) 	{
		Scanner sc = new Scanner(System.in);
		int num[];
		int nagasa = sc.nextInt();
		num = new int[nagasa];
		for(int i = 0; i < nagasa ; i++) {
			num[i] = sc.nextInt();
		}
		for(int j = nagasa - 1; j >= 0 ; j--) {
			System.out.printf("%d", num[j]);
			if(j != 0) System.out.printf(" ");
		}
		System.out.printf("\n");
		sc.close();
	}	
}
