import java.util.ArrayList;
import java.util.Scanner;

public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int n = input();
		ArrayList<Integer> list = new ArrayList<Integer>();

		for (int i = 0; i < n; i++) {

			list.add(input());

		}

		for (int j = n; j > 0; j--) {

			if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			}
		}

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

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

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int n = input();
		ArrayList<Integer> list = new ArrayList<Integer>();

		for (int i = 0; i < n; i++) {

			list.add(input());

		}

		for (int j = n; j > 0; j--) {

			if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			}
		}

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

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

		int n = input();
		ArrayList<Integer> list = new ArrayList<Integer>();

		for (int i = 0; i < n; i++) {

			list.add(input());

		}

		for (int j = n; j > 0; j--) {

			if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			}
		}

		close();

	} main {

		int n = input();
		ArrayList<Integer> list = new ArrayList<Integer>();

		for (int i = 0; i < n; i++) {

			list.add(input());

		}

		for (int j = n; j > 0; j--) {

			if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			}
		}

		close();

	} int n = input(); n input() input ArrayList<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() for (int i = 0; i < n; i++) {

			list.add(input());

		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {

			list.add(input());

		} {

			list.add(input());

		} list.add(input()) list.add list input() input for (int j = n; j > 0; j--) {

			if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			}
		} int j = n; int j = n; j n j > 0 j 0 j-- j-- j {

			if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			}
		} {

			if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			}
		} if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			} j !=1 j 1 {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} System.out.print(list.get(j - 1)) System.out.print System.out System System.out list.get(j - 1) list.get list j - 1 j 1 System.out.print(" ") System.out.print System.out System System.out " " {

				System.out.println(list.get(j - 1));

			} System.out.println(list.get(j - 1)) System.out.println System.out System System.out list.get(j - 1) list.get list j - 1 j 1 close() close String[] args args public static int input() {

		return scanner.nextInt();

	} input {

		return scanner.nextInt();

	} return scanner.nextInt(); scanner.nextInt() scanner.nextInt scanner public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	} close {

		if (scanner != null) {

			scanner.close();

		}
	} if (scanner != null) {

			scanner.close();

		} scanner != null scanner null {

			scanner.close();

		} scanner.close() scanner.close scanner public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int n = input();
		ArrayList<Integer> list = new ArrayList<Integer>();

		for (int i = 0; i < n; i++) {

			list.add(input());

		}

		for (int j = n; j > 0; j--) {

			if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			}
		}

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int n = input();
		ArrayList<Integer> list = new ArrayList<Integer>();

		for (int i = 0; i < n; i++) {

			list.add(input());

		}

		for (int j = n; j > 0; j--) {

			if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			}
		}

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int n = input();
		ArrayList<Integer> list = new ArrayList<Integer>();

		for (int i = 0; i < n; i++) {

			list.add(input());

		}

		for (int j = n; j > 0; j--) {

			if (j !=1) {

				System.out.print(list.get(j - 1));
				System.out.print(" ");

			} else {

				System.out.println(list.get(j - 1));

			}
		}

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
}