import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count = sc.nextInt();
		int[] nums = new int[count];

		for(int i = 0; i < count;i++) {
			nums[i] = sc.nextInt();

		}

		for(int i = count - 1;i >= 0 ;i--) {
			System.out.print(nums[i]);
			if(i != 0 ) {
				System.out.print(" ");
			}
		}
		System.out.println();

	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count = sc.nextInt();
		int[] nums = new int[count];

		for(int i = 0; i < count;i++) {
			nums[i] = sc.nextInt();

		}

		for(int i = count - 1;i >= 0 ;i--) {
			System.out.print(nums[i]);
			if(i != 0 ) {
				System.out.print(" ");
			}
		}
		System.out.println();

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count = sc.nextInt();
		int[] nums = new int[count];

		for(int i = 0; i < count;i++) {
			nums[i] = sc.nextInt();

		}

		for(int i = count - 1;i >= 0 ;i--) {
			System.out.print(nums[i]);
			if(i != 0 ) {
				System.out.print(" ");
			}
		}
		System.out.println();

	} main {
		Scanner sc = new Scanner(System.in);
		int count = sc.nextInt();
		int[] nums = new int[count];

		for(int i = 0; i < count;i++) {
			nums[i] = sc.nextInt();

		}

		for(int i = count - 1;i >= 0 ;i--) {
			System.out.print(nums[i]);
			if(i != 0 ) {
				System.out.print(" ");
			}
		}
		System.out.println();

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int count = sc.nextInt(); count sc.nextInt() sc.nextInt sc int[] nums = new int[count]; nums new int[count] count for(int i = 0; i < count;i++) {
			nums[i] = sc.nextInt();

		} int i = 0; int i = 0; i 0 i < count i count i++ i++ i {
			nums[i] = sc.nextInt();

		} {
			nums[i] = sc.nextInt();

		} nums[i] = sc.nextInt() nums[i] nums i sc.nextInt() sc.nextInt sc for(int i = count - 1;i >= 0 ;i--) {
			System.out.print(nums[i]);
			if(i != 0 ) {
				System.out.print(" ");
			}
		} int i = count - 1; int i = count - 1; i count - 1 count 1 i >= 0 i 0 i-- i-- i {
			System.out.print(nums[i]);
			if(i != 0 ) {
				System.out.print(" ");
			}
		} {
			System.out.print(nums[i]);
			if(i != 0 ) {
				System.out.print(" ");
			}
		} System.out.print(nums[i]) System.out.print System.out System System.out nums[i] nums i if(i != 0 ) {
				System.out.print(" ");
			} i != 0 i 0 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count = sc.nextInt();
		int[] nums = new int[count];

		for(int i = 0; i < count;i++) {
			nums[i] = sc.nextInt();

		}

		for(int i = count - 1;i >= 0 ;i--) {
			System.out.print(nums[i]);
			if(i != 0 ) {
				System.out.print(" ");
			}
		}
		System.out.println();

	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count = sc.nextInt();
		int[] nums = new int[count];

		for(int i = 0; i < count;i++) {
			nums[i] = sc.nextInt();

		}

		for(int i = count - 1;i >= 0 ;i--) {
			System.out.print(nums[i]);
			if(i != 0 ) {
				System.out.print(" ");
			}
		}
		System.out.println();

	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count = sc.nextInt();
		int[] nums = new int[count];

		for(int i = 0; i < count;i++) {
			nums[i] = sc.nextInt();

		}

		for(int i = count - 1;i >= 0 ;i--) {
			System.out.print(nums[i]);
			if(i != 0 ) {
				System.out.print(" ");
			}
		}
		System.out.println();

	}
}