import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int[] nums = new int[a];
		
		for(int i = a-1; i >= 0; i--){
			nums[i] = sc.nextInt();
		}
		
		StringBuilder str = new StringBuilder();
		for(int i = 0; i < nums.length; i++){
			if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]);
		}
		
		System.out.println(str);
		
	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int[] nums = new int[a];
		
		for(int i = a-1; i >= 0; i--){
			nums[i] = sc.nextInt();
		}
		
		StringBuilder str = new StringBuilder();
		for(int i = 0; i < nums.length; i++){
			if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]);
		}
		
		System.out.println(str);
		
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int[] nums = new int[a];
		
		for(int i = a-1; i >= 0; i--){
			nums[i] = sc.nextInt();
		}
		
		StringBuilder str = new StringBuilder();
		for(int i = 0; i < nums.length; i++){
			if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]);
		}
		
		System.out.println(str);
		
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int[] nums = new int[a];
		
		for(int i = a-1; i >= 0; i--){
			nums[i] = sc.nextInt();
		}
		
		StringBuilder str = new StringBuilder();
		for(int i = 0; i < nums.length; i++){
			if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]);
		}
		
		System.out.println(str);
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int[] nums = new int[a]; nums new int[a] a for(int i = a-1; i >= 0; i--){
			nums[i] = sc.nextInt();
		} int i = a-1; int i = a-1; i a-1 a 1 i >= 0 i 0 i-- i-- i {
			nums[i] = sc.nextInt();
		} {
			nums[i] = sc.nextInt();
		} nums[i] = sc.nextInt() nums[i] nums i sc.nextInt() sc.nextInt sc StringBuilder str = new StringBuilder(); str new StringBuilder() for(int i = 0; i < nums.length; i++){
			if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]);
		} int i = 0; int i = 0; i 0 i < nums.length i nums.length nums nums.length i++ i++ i {
			if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]);
		} {
			if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]);
		} if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]); i != nums.length-1 i nums.length-1 nums.length nums nums.length 1 str.append(nums[i] + " ") str.append str nums[i] + " " nums[i] nums i " " str.append(nums[i]) str.append str nums[i] nums i System.out.println(str) System.out.println System.out System System.out str String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int[] nums = new int[a];
		
		for(int i = a-1; i >= 0; i--){
			nums[i] = sc.nextInt();
		}
		
		StringBuilder str = new StringBuilder();
		for(int i = 0; i < nums.length; i++){
			if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]);
		}
		
		System.out.println(str);
		
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int[] nums = new int[a];
		
		for(int i = a-1; i >= 0; i--){
			nums[i] = sc.nextInt();
		}
		
		StringBuilder str = new StringBuilder();
		for(int i = 0; i < nums.length; i++){
			if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]);
		}
		
		System.out.println(str);
		
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int[] nums = new int[a];
		
		for(int i = a-1; i >= 0; i--){
			nums[i] = sc.nextInt();
		}
		
		StringBuilder str = new StringBuilder();
		for(int i = 0; i < nums.length; i++){
			if(i != nums.length-1) str.append(nums[i] + " ");
			else str.append(nums[i]);
		}
		
		System.out.println(str);
		
	}

}