import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

		boolean flag = false;
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		sc.nextLine();
		if (n <= 100) {
			int ai[] = new int[n];
			for (int i = 0; i < ai.length; i++) {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			}

			if (flag == true) {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			}

		}

	}

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

	public static void main(String[] args) {

		boolean flag = false;
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		sc.nextLine();
		if (n <= 100) {
			int ai[] = new int[n];
			for (int i = 0; i < ai.length; i++) {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			}

			if (flag == true) {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			}

		}

	}

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

		boolean flag = false;
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		sc.nextLine();
		if (n <= 100) {
			int ai[] = new int[n];
			for (int i = 0; i < ai.length; i++) {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			}

			if (flag == true) {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			}

		}

	} main {

		boolean flag = false;
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		sc.nextLine();
		if (n <= 100) {
			int ai[] = new int[n];
			for (int i = 0; i < ai.length; i++) {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			}

			if (flag == true) {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			}

		}

	} boolean flag = false; flag false Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc sc.nextLine() sc.nextLine sc if (n <= 100) {
			int ai[] = new int[n];
			for (int i = 0; i < ai.length; i++) {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			}

			if (flag == true) {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			}

		} n <= 100 n 100 {
			int ai[] = new int[n];
			for (int i = 0; i < ai.length; i++) {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			}

			if (flag == true) {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			}

		} int ai[] = new int[n]; ai new int[n] n for (int i = 0; i < ai.length; i++) {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			} int i = 0; int i = 0; i 0 i < ai.length i ai.length ai ai.length i++ i++ i {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			} {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			} ai[i] = sc.nextInt() ai[i] ai i sc.nextInt() sc.nextInt sc if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				} ai[i] >= 0 && ai[i] <= 1000 ai[i] >= 0 ai[i] ai i 0 ai[i] <= 1000 ai[i] ai i 1000 {
					flag = true;
				} flag = true flag true {
					flag = false;
					break;
				} flag = false flag false break; if (flag == true) {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			} flag == true flag true {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			} int length = ai.length - 1; length ai.length - 1 ai.length ai ai.length 1 for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				} int j = length; int j = length; j length j >= 0 j 0 j-- j-- j {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				} {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				} if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					} j == 0 j 0 {
						System.out.println(ai[j]);
					} System.out.println(ai[j]) System.out.println System.out System System.out ai[j] ai j {

						System.out.print(ai[j] + " ");
					} System.out.print(ai[j] + " ") System.out.print System.out System System.out ai[j] + " " ai[j] ai j " " String[] args args public class Main{

	public static void main(String[] args) {

		boolean flag = false;
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		sc.nextLine();
		if (n <= 100) {
			int ai[] = new int[n];
			for (int i = 0; i < ai.length; i++) {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			}

			if (flag == true) {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			}

		}

	}

} public class Main{

	public static void main(String[] args) {

		boolean flag = false;
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		sc.nextLine();
		if (n <= 100) {
			int ai[] = new int[n];
			for (int i = 0; i < ai.length; i++) {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			}

			if (flag == true) {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			}

		}

	}

} Main
import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

		boolean flag = false;
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		sc.nextLine();
		if (n <= 100) {
			int ai[] = new int[n];
			for (int i = 0; i < ai.length; i++) {
				ai[i] = sc.nextInt();
				if (ai[i] >= 0 && ai[i] <= 1000) {
					flag = true;
				} else {
					flag = false;
					break;
				}

			}

			if (flag == true) {
				int length = ai.length - 1;
				for (int j = length; j >= 0; j--) {
					if (j == 0) {
						System.out.println(ai[j]);
					} else {

						System.out.print(ai[j] + " ");
					}

				}
			}

		}

	}

}