import java.util.Scanner;

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


				int n = sc.nextInt();

				int array[] = new int[n];

				for(int i = 0; i < n; i++) {
					int a = sc.nextInt();
					array[i] = a;
				}

				for(int i = 0; i < n; i++) {
					System.out.print(array[(n - 1) - i]);
					if(i == n - 1) {
						break;
					}
					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 n = sc.nextInt();

				int array[] = new int[n];

				for(int i = 0; i < n; i++) {
					int a = sc.nextInt();
					array[i] = a;
				}

				for(int i = 0; i < n; i++) {
					System.out.print(array[(n - 1) - i]);
					if(i == n - 1) {
						break;
					}
					System.out.print(" ");
				}
				System.out.println();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);


				int n = sc.nextInt();

				int array[] = new int[n];

				for(int i = 0; i < n; i++) {
					int a = sc.nextInt();
					array[i] = a;
				}

				for(int i = 0; i < n; i++) {
					System.out.print(array[(n - 1) - i]);
					if(i == n - 1) {
						break;
					}
					System.out.print(" ");
				}
				System.out.println();
	} main {
		Scanner sc = new Scanner(System.in);


				int n = sc.nextInt();

				int array[] = new int[n];

				for(int i = 0; i < n; i++) {
					int a = sc.nextInt();
					array[i] = a;
				}

				for(int i = 0; i < n; i++) {
					System.out.print(array[(n - 1) - i]);
					if(i == n - 1) {
						break;
					}
					System.out.print(" ");
				}
				System.out.println();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int array[] = new int[n]; array new int[n] n for(int i = 0; i < n; i++) {
					int a = sc.nextInt();
					array[i] = a;
				} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
					int a = sc.nextInt();
					array[i] = a;
				} {
					int a = sc.nextInt();
					array[i] = a;
				} int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc array[i] = a array[i] array i a for(int i = 0; i < n; i++) {
					System.out.print(array[(n - 1) - i]);
					if(i == n - 1) {
						break;
					}
					System.out.print(" ");
				} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
					System.out.print(array[(n - 1) - i]);
					if(i == n - 1) {
						break;
					}
					System.out.print(" ");
				} {
					System.out.print(array[(n - 1) - i]);
					if(i == n - 1) {
						break;
					}
					System.out.print(" ");
				} System.out.print(array[(n - 1) - i]) System.out.print System.out System System.out array[(n - 1) - i] array (n - 1) - i (n - 1) n 1 i if(i == n - 1) {
						break;
					} i == n - 1 i n - 1 n 1 {
						break;
					} break; 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 n = sc.nextInt();

				int array[] = new int[n];

				for(int i = 0; i < n; i++) {
					int a = sc.nextInt();
					array[i] = a;
				}

				for(int i = 0; i < n; i++) {
					System.out.print(array[(n - 1) - i]);
					if(i == n - 1) {
						break;
					}
					System.out.print(" ");
				}
				System.out.println();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);


				int n = sc.nextInt();

				int array[] = new int[n];

				for(int i = 0; i < n; i++) {
					int a = sc.nextInt();
					array[i] = a;
				}

				for(int i = 0; i < n; i++) {
					System.out.print(array[(n - 1) - i]);
					if(i == n - 1) {
						break;
					}
					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 n = sc.nextInt();

				int array[] = new int[n];

				for(int i = 0; i < n; i++) {
					int a = sc.nextInt();
					array[i] = a;
				}

				for(int i = 0; i < n; i++) {
					System.out.print(array[(n - 1) - i]);
					if(i == n - 1) {
						break;
					}
					System.out.print(" ");
				}
				System.out.println();
	}
}