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

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			list.add(scan.nextInt());
		}
		scan.close();

		for (int i = n - 1; i >= 0; i--) {
			if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			}
		}
	}

} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			list.add(scan.nextInt());
		}
		scan.close();

		for (int i = n - 1; i >= 0; i--) {
			if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			}
		}
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			list.add(scan.nextInt());
		}
		scan.close();

		for (int i = n - 1; i >= 0; i--) {
			if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			}
		}
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			list.add(scan.nextInt());
		}
		scan.close();

		for (int i = n - 1; i >= 0; i--) {
			if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan ArrayList<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() for (int i = 0; i < n; i++) {
			list.add(scan.nextInt());
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			list.add(scan.nextInt());
		} {
			list.add(scan.nextInt());
		} list.add(scan.nextInt()) list.add list scan.nextInt() scan.nextInt scan scan.close() scan.close scan for (int i = n - 1; i >= 0; i--) {
			if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			}
		} int i = n - 1; int i = n - 1; i n - 1 n 1 i >= 0 i 0 i-- i-- i {
			if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			}
		} {
			if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			}
		} if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			} i != 0 i 0 {
				System.out.print(list.get(i) + " ");
			} System.out.print(list.get(i) + " ") System.out.print System.out System System.out list.get(i) + " " list.get(i) list.get list i " " {
				System.out.print(list.get(i) + "\n");
			} System.out.print(list.get(i) + "\n") System.out.print System.out System System.out list.get(i) + "\n" list.get(i) list.get list i "\n" String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			list.add(scan.nextInt());
		}
		scan.close();

		for (int i = n - 1; i >= 0; i--) {
			if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			}
		}
	}

} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			list.add(scan.nextInt());
		}
		scan.close();

		for (int i = n - 1; i >= 0; i--) {
			if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			}
		}
	}

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

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < n; i++) {
			list.add(scan.nextInt());
		}
		scan.close();

		for (int i = n - 1; i >= 0; i--) {
			if (i != 0) {
				System.out.print(list.get(i) + " ");
			} else {
				System.out.print(list.get(i) + "\n");
			}
		}
	}

}