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

public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		String str1 = scan.nextLine();
		String str2 = scan.nextLine();
		scan.close();

		int n = Integer.parseInt(str1);
		String[] num = str2.split(" ", 0);
		ArrayList<String> numList = new ArrayList<String>();

		for (int i = 0; i < n; i++) {
			numList.add(num[i]);
		}

		for (int i = n - 1; 0 <= i; i--) {
			System.out.print(numList.get(i));
			if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			}
		}
	}
} 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);
		String str1 = scan.nextLine();
		String str2 = scan.nextLine();
		scan.close();

		int n = Integer.parseInt(str1);
		String[] num = str2.split(" ", 0);
		ArrayList<String> numList = new ArrayList<String>();

		for (int i = 0; i < n; i++) {
			numList.add(num[i]);
		}

		for (int i = n - 1; 0 <= i; i--) {
			System.out.print(numList.get(i));
			if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			}
		}
	}
} Main public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		String str1 = scan.nextLine();
		String str2 = scan.nextLine();
		scan.close();

		int n = Integer.parseInt(str1);
		String[] num = str2.split(" ", 0);
		ArrayList<String> numList = new ArrayList<String>();

		for (int i = 0; i < n; i++) {
			numList.add(num[i]);
		}

		for (int i = n - 1; 0 <= i; i--) {
			System.out.print(numList.get(i));
			if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			}
		}
	} main {
		Scanner scan = new Scanner(System.in);
		String str1 = scan.nextLine();
		String str2 = scan.nextLine();
		scan.close();

		int n = Integer.parseInt(str1);
		String[] num = str2.split(" ", 0);
		ArrayList<String> numList = new ArrayList<String>();

		for (int i = 0; i < n; i++) {
			numList.add(num[i]);
		}

		for (int i = n - 1; 0 <= i; i--) {
			System.out.print(numList.get(i));
			if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String str1 = scan.nextLine(); str1 scan.nextLine() scan.nextLine scan String str2 = scan.nextLine(); str2 scan.nextLine() scan.nextLine scan scan.close() scan.close scan int n = Integer.parseInt(str1); n Integer.parseInt(str1) Integer.parseInt Integer str1 String[] num = str2.split(" ", 0); num str2.split(" ", 0) str2.split str2 " " 0 ArrayList<String> numList = new ArrayList<String>(); numList new ArrayList<String>() for (int i = 0; i < n; i++) {
			numList.add(num[i]);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			numList.add(num[i]);
		} {
			numList.add(num[i]);
		} numList.add(num[i]) numList.add numList num[i] num i for (int i = n - 1; 0 <= i; i--) {
			System.out.print(numList.get(i));
			if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			}
		} int i = n - 1; int i = n - 1; i n - 1 n 1 0 <= i 0 i i-- i-- i {
			System.out.print(numList.get(i));
			if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			}
		} {
			System.out.print(numList.get(i));
			if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			}
		} System.out.print(numList.get(i)) System.out.print System.out System System.out numList.get(i) numList.get numList i if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			} i != 0 i 0 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " {
				System.out.println("");
			} System.out.println("") System.out.println System.out System System.out "" String args[] args public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		String str1 = scan.nextLine();
		String str2 = scan.nextLine();
		scan.close();

		int n = Integer.parseInt(str1);
		String[] num = str2.split(" ", 0);
		ArrayList<String> numList = new ArrayList<String>();

		for (int i = 0; i < n; i++) {
			numList.add(num[i]);
		}

		for (int i = n - 1; 0 <= i; i--) {
			System.out.print(numList.get(i));
			if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			}
		}
	}
} public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		String str1 = scan.nextLine();
		String str2 = scan.nextLine();
		scan.close();

		int n = Integer.parseInt(str1);
		String[] num = str2.split(" ", 0);
		ArrayList<String> numList = new ArrayList<String>();

		for (int i = 0; i < n; i++) {
			numList.add(num[i]);
		}

		for (int i = n - 1; 0 <= i; i--) {
			System.out.print(numList.get(i));
			if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			}
		}
	}
} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		String str1 = scan.nextLine();
		String str2 = scan.nextLine();
		scan.close();

		int n = Integer.parseInt(str1);
		String[] num = str2.split(" ", 0);
		ArrayList<String> numList = new ArrayList<String>();

		for (int i = 0; i < n; i++) {
			numList.add(num[i]);
		}

		for (int i = n - 1; 0 <= i; i--) {
			System.out.print(numList.get(i));
			if (i != 0) {
				System.out.print(" ");
			}else{
				System.out.println("");
			}
		}
	}
}