
import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String h1 = scanner.nextLine();
		int a = Integer.parseInt(h1);
		//System.out.println(a);

		String h2 = scanner.nextLine();
		String[] x = h2.split(" ");
		//Arrays.sort(x);


		for (int y = a - 1; y >= 0; y--) {
			if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]);
		}
	}
} import java.util.Scanner; Scanner java.util public class Main{

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String h1 = scanner.nextLine();
		int a = Integer.parseInt(h1);
		//System.out.println(a);

		String h2 = scanner.nextLine();
		String[] x = h2.split(" ");
		//Arrays.sort(x);


		for (int y = a - 1; y >= 0; y--) {
			if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]);
		}
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String h1 = scanner.nextLine();
		int a = Integer.parseInt(h1);
		//System.out.println(a);

		String h2 = scanner.nextLine();
		String[] x = h2.split(" ");
		//Arrays.sort(x);


		for (int y = a - 1; y >= 0; y--) {
			if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]);
		}
	} main {
		Scanner scanner = new Scanner(System.in);
		String h1 = scanner.nextLine();
		int a = Integer.parseInt(h1);
		//System.out.println(a);

		String h2 = scanner.nextLine();
		String[] x = h2.split(" ");
		//Arrays.sort(x);


		for (int y = a - 1; y >= 0; y--) {
			if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]);
		}
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String h1 = scanner.nextLine(); h1 scanner.nextLine() scanner.nextLine scanner int a = Integer.parseInt(h1); a Integer.parseInt(h1) Integer.parseInt Integer h1 String h2 = scanner.nextLine(); h2 scanner.nextLine() scanner.nextLine scanner String[] x = h2.split(" "); x h2.split(" ") h2.split h2 " " for (int y = a - 1; y >= 0; y--) {
			if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]);
		} int y = a - 1; int y = a - 1; y a - 1 a 1 y >= 0 y 0 y-- y-- y {
			if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]);
		} {
			if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]);
		} if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]); y!=0 y 0 System.out.print(x[y] + " ") System.out.print System.out System System.out x[y] + " " x[y] x y " " System.out.println(x[y]) System.out.println System.out System System.out x[y] x y String[] args args public class Main{

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String h1 = scanner.nextLine();
		int a = Integer.parseInt(h1);
		//System.out.println(a);

		String h2 = scanner.nextLine();
		String[] x = h2.split(" ");
		//Arrays.sort(x);


		for (int y = a - 1; y >= 0; y--) {
			if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]);
		}
	}
} public class Main{

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String h1 = scanner.nextLine();
		int a = Integer.parseInt(h1);
		//System.out.println(a);

		String h2 = scanner.nextLine();
		String[] x = h2.split(" ");
		//Arrays.sort(x);


		for (int y = a - 1; y >= 0; y--) {
			if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]);
		}
	}
} Main

import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String h1 = scanner.nextLine();
		int a = Integer.parseInt(h1);
		//System.out.println(a);

		String h2 = scanner.nextLine();
		String[] x = h2.split(" ");
		//Arrays.sort(x);


		for (int y = a - 1; y >= 0; y--) {
			if(y!=0)
			System.out.print(x[y] + " ");
			else
			System.out.println(x[y]);
		}
	}
}