import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder output = new StringBuilder();
		
		int n = scan.nextInt();
		long[] a = new long[n];
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextLong();
		}
		for (int i = n-1; i > 0; i--) {
			output.append(a[i]).append(" ");
		}
		output.append(a[0]);
		System.out.println(output);
	}

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

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder output = new StringBuilder();
		
		int n = scan.nextInt();
		long[] a = new long[n];
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextLong();
		}
		for (int i = n-1; i > 0; i--) {
			output.append(a[i]).append(" ");
		}
		output.append(a[0]);
		System.out.println(output);
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder output = new StringBuilder();
		
		int n = scan.nextInt();
		long[] a = new long[n];
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextLong();
		}
		for (int i = n-1; i > 0; i--) {
			output.append(a[i]).append(" ");
		}
		output.append(a[0]);
		System.out.println(output);
	} main {
		Scanner scan = new Scanner(System.in);
		StringBuilder output = new StringBuilder();
		
		int n = scan.nextInt();
		long[] a = new long[n];
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextLong();
		}
		for (int i = n-1; i > 0; i--) {
			output.append(a[i]).append(" ");
		}
		output.append(a[0]);
		System.out.println(output);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) StringBuilder output = new StringBuilder(); output new StringBuilder() int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan long[] a = new long[n]; a new long[n] n for (int i = 0; i < n; i++) {
			a[i] = scan.nextLong();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			a[i] = scan.nextLong();
		} {
			a[i] = scan.nextLong();
		} a[i] = scan.nextLong() a[i] a i scan.nextLong() scan.nextLong scan for (int i = n-1; i > 0; i--) {
			output.append(a[i]).append(" ");
		} int i = n-1; int i = n-1; i n-1 n 1 i > 0 i 0 i-- i-- i {
			output.append(a[i]).append(" ");
		} {
			output.append(a[i]).append(" ");
		} output.append(a[i]).append(" ") output.append(a[i]).append output.append(a[i]) output.append output a[i] a i " " output.append(a[0]) output.append output a[0] a 0 System.out.println(output) System.out.println System.out System System.out output String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder output = new StringBuilder();
		
		int n = scan.nextInt();
		long[] a = new long[n];
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextLong();
		}
		for (int i = n-1; i > 0; i--) {
			output.append(a[i]).append(" ");
		}
		output.append(a[0]);
		System.out.println(output);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder output = new StringBuilder();
		
		int n = scan.nextInt();
		long[] a = new long[n];
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextLong();
		}
		for (int i = n-1; i > 0; i--) {
			output.append(a[i]).append(" ");
		}
		output.append(a[0]);
		System.out.println(output);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder output = new StringBuilder();
		
		int n = scan.nextInt();
		long[] a = new long[n];
		for (int i = 0; i < n; i++) {
			a[i] = scan.nextLong();
		}
		for (int i = n-1; i > 0; i--) {
			output.append(a[i]).append(" ");
		}
		output.append(a[0]);
		System.out.println(output);
	}

}