import java.util.Scanner;
public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = Integer.parseInt(scan.nextLine());
	String input = scan.nextLine();
	String[] sequence = input.split(" ");
	for (int i = n - 1; i > 0; i--) {
	    System.out.print(sequence[i] + " ");
	}
	System.out.println(sequence[0]);
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = Integer.parseInt(scan.nextLine());
	String input = scan.nextLine();
	String[] sequence = input.split(" ");
	for (int i = n - 1; i > 0; i--) {
	    System.out.print(sequence[i] + " ");
	}
	System.out.println(sequence[0]);
    }
} Main public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = Integer.parseInt(scan.nextLine());
	String input = scan.nextLine();
	String[] sequence = input.split(" ");
	for (int i = n - 1; i > 0; i--) {
	    System.out.print(sequence[i] + " ");
	}
	System.out.println(sequence[0]);
    } main {
	Scanner scan = new Scanner(System.in);
	int n = Integer.parseInt(scan.nextLine());
	String input = scan.nextLine();
	String[] sequence = input.split(" ");
	for (int i = n - 1; i > 0; i--) {
	    System.out.print(sequence[i] + " ");
	}
	System.out.println(sequence[0]);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = Integer.parseInt(scan.nextLine()); n Integer.parseInt(scan.nextLine()) Integer.parseInt Integer scan.nextLine() scan.nextLine scan String input = scan.nextLine(); input scan.nextLine() scan.nextLine scan String[] sequence = input.split(" "); sequence input.split(" ") input.split input " " for (int i = n - 1; i > 0; i--) {
	    System.out.print(sequence[i] + " ");
	} int i = n - 1; int i = n - 1; i n - 1 n 1 i > 0 i 0 i-- i-- i {
	    System.out.print(sequence[i] + " ");
	} {
	    System.out.print(sequence[i] + " ");
	} System.out.print(sequence[i] + " ") System.out.print System.out System System.out sequence[i] + " " sequence[i] sequence i " " System.out.println(sequence[0]) System.out.println System.out System System.out sequence[0] sequence 0 String[] args args public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = Integer.parseInt(scan.nextLine());
	String input = scan.nextLine();
	String[] sequence = input.split(" ");
	for (int i = n - 1; i > 0; i--) {
	    System.out.print(sequence[i] + " ");
	}
	System.out.println(sequence[0]);
    }
} public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = Integer.parseInt(scan.nextLine());
	String input = scan.nextLine();
	String[] sequence = input.split(" ");
	for (int i = n - 1; i > 0; i--) {
	    System.out.print(sequence[i] + " ");
	}
	System.out.println(sequence[0]);
    }
} Main
import java.util.Scanner;
public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = Integer.parseInt(scan.nextLine());
	String input = scan.nextLine();
	String[] sequence = input.split(" ");
	for (int i = n - 1; i > 0; i--) {
	    System.out.print(sequence[i] + " ");
	}
	System.out.println(sequence[0]);
    }
}