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

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> i = new ArrayList<Integer>();

		int n = sc.nextInt();

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

			i.add(sc.nextInt());

		}
		for (int y = i.size() - 1; y >= 0; y--) {

			if (y != i.size() - 1) {
				System.out.print(" ");
			}

			System.out.print(i.get(y));

		}
		System.out.println();
		sc.close();
	}

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

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> i = new ArrayList<Integer>();

		int n = sc.nextInt();

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

			i.add(sc.nextInt());

		}
		for (int y = i.size() - 1; y >= 0; y--) {

			if (y != i.size() - 1) {
				System.out.print(" ");
			}

			System.out.print(i.get(y));

		}
		System.out.println();
		sc.close();
	}

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

		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> i = new ArrayList<Integer>();

		int n = sc.nextInt();

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

			i.add(sc.nextInt());

		}
		for (int y = i.size() - 1; y >= 0; y--) {

			if (y != i.size() - 1) {
				System.out.print(" ");
			}

			System.out.print(i.get(y));

		}
		System.out.println();
		sc.close();
	} main {

		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> i = new ArrayList<Integer>();

		int n = sc.nextInt();

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

			i.add(sc.nextInt());

		}
		for (int y = i.size() - 1; y >= 0; y--) {

			if (y != i.size() - 1) {
				System.out.print(" ");
			}

			System.out.print(i.get(y));

		}
		System.out.println();
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) ArrayList<Integer> i = new ArrayList<Integer>(); i new ArrayList<Integer>() int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc for (int x = 0; x < n; x++) {

			i.add(sc.nextInt());

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

			i.add(sc.nextInt());

		} {

			i.add(sc.nextInt());

		} i.add(sc.nextInt()) i.add i sc.nextInt() sc.nextInt sc for (int y = i.size() - 1; y >= 0; y--) {

			if (y != i.size() - 1) {
				System.out.print(" ");
			}

			System.out.print(i.get(y));

		} int y = i.size() - 1; int y = i.size() - 1; y i.size() - 1 i.size() i.size i 1 y >= 0 y 0 y-- y-- y {

			if (y != i.size() - 1) {
				System.out.print(" ");
			}

			System.out.print(i.get(y));

		} {

			if (y != i.size() - 1) {
				System.out.print(" ");
			}

			System.out.print(i.get(y));

		} if (y != i.size() - 1) {
				System.out.print(" ");
			} y != i.size() - 1 y i.size() - 1 i.size() i.size i 1 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " System.out.print(i.get(y)) System.out.print System.out System System.out i.get(y) i.get i y System.out.println() System.out.println System.out System System.out sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> i = new ArrayList<Integer>();

		int n = sc.nextInt();

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

			i.add(sc.nextInt());

		}
		for (int y = i.size() - 1; y >= 0; y--) {

			if (y != i.size() - 1) {
				System.out.print(" ");
			}

			System.out.print(i.get(y));

		}
		System.out.println();
		sc.close();
	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> i = new ArrayList<Integer>();

		int n = sc.nextInt();

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

			i.add(sc.nextInt());

		}
		for (int y = i.size() - 1; y >= 0; y--) {

			if (y != i.size() - 1) {
				System.out.print(" ");
			}

			System.out.print(i.get(y));

		}
		System.out.println();
		sc.close();
	}

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

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> i = new ArrayList<Integer>();

		int n = sc.nextInt();

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

			i.add(sc.nextInt());

		}
		for (int y = i.size() - 1; y >= 0; y--) {

			if (y != i.size() - 1) {
				System.out.print(" ");
			}

			System.out.print(i.get(y));

		}
		System.out.println();
		sc.close();
	}

}