import java.util.Scanner;

class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] nums = new int[n];
		for(int i=0; i<nums.length; i++){
			nums[i] = scan.nextInt();
		}
		scan.close();
		for(int s = nums.length-1; s>=0; s--){
			if(s == 0){
				System.out.print(nums[s]);
			}else{

			System.out.print(nums[s] + " ");
			}
		}
		System.out.print("\n");
	}

} import java.util.Scanner; Scanner java.util class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] nums = new int[n];
		for(int i=0; i<nums.length; i++){
			nums[i] = scan.nextInt();
		}
		scan.close();
		for(int s = nums.length-1; s>=0; s--){
			if(s == 0){
				System.out.print(nums[s]);
			}else{

			System.out.print(nums[s] + " ");
			}
		}
		System.out.print("\n");
	}

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

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] nums = new int[n];
		for(int i=0; i<nums.length; i++){
			nums[i] = scan.nextInt();
		}
		scan.close();
		for(int s = nums.length-1; s>=0; s--){
			if(s == 0){
				System.out.print(nums[s]);
			}else{

			System.out.print(nums[s] + " ");
			}
		}
		System.out.print("\n");
	} main {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] nums = new int[n];
		for(int i=0; i<nums.length; i++){
			nums[i] = scan.nextInt();
		}
		scan.close();
		for(int s = nums.length-1; s>=0; s--){
			if(s == 0){
				System.out.print(nums[s]);
			}else{

			System.out.print(nums[s] + " ");
			}
		}
		System.out.print("\n");
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int[] nums = new int[n]; nums new int[n] n for(int i=0; i<nums.length; i++){
			nums[i] = scan.nextInt();
		} int i=0; int i=0; i 0 i<nums.length i nums.length nums nums.length i++ i++ i {
			nums[i] = scan.nextInt();
		} {
			nums[i] = scan.nextInt();
		} nums[i] = scan.nextInt() nums[i] nums i scan.nextInt() scan.nextInt scan scan.close() scan.close scan for(int s = nums.length-1; s>=0; s--){
			if(s == 0){
				System.out.print(nums[s]);
			}else{

			System.out.print(nums[s] + " ");
			}
		} int s = nums.length-1; int s = nums.length-1; s nums.length-1 nums.length nums nums.length 1 s>=0 s 0 s-- s-- s {
			if(s == 0){
				System.out.print(nums[s]);
			}else{

			System.out.print(nums[s] + " ");
			}
		} {
			if(s == 0){
				System.out.print(nums[s]);
			}else{

			System.out.print(nums[s] + " ");
			}
		} if(s == 0){
				System.out.print(nums[s]);
			}else{

			System.out.print(nums[s] + " ");
			} s == 0 s 0 {
				System.out.print(nums[s]);
			} System.out.print(nums[s]) System.out.print System.out System System.out nums[s] nums s {

			System.out.print(nums[s] + " ");
			} System.out.print(nums[s] + " ") System.out.print System.out System System.out nums[s] + " " nums[s] nums s " " System.out.print("\n") System.out.print System.out System System.out "\n" String[] args args
import java.util.Scanner;

class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] nums = new int[n];
		for(int i=0; i<nums.length; i++){
			nums[i] = scan.nextInt();
		}
		scan.close();
		for(int s = nums.length-1; s>=0; s--){
			if(s == 0){
				System.out.print(nums[s]);
			}else{

			System.out.print(nums[s] + " ");
			}
		}
		System.out.print("\n");
	}

}