import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    int n = Integer.parseInt(br.readLine());
	    String line = br.readLine();

	    String[] input = line.split(" ");
	    String[] output = new String[input.length];

	    int len = input.length - 1;
	    for (int i = 0; i < n; i++) {
	    	output[i] = input[len--];
	    }

	    System.out.println(String.join(" ", output));

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    int n = Integer.parseInt(br.readLine());
	    String line = br.readLine();

	    String[] input = line.split(" ");
	    String[] output = new String[input.length];

	    int len = input.length - 1;
	    for (int i = 0; i < n; i++) {
	    	output[i] = input[len--];
	    }

	    System.out.println(String.join(" ", output));

	}
} Main public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    int n = Integer.parseInt(br.readLine());
	    String line = br.readLine();

	    String[] input = line.split(" ");
	    String[] output = new String[input.length];

	    int len = input.length - 1;
	    for (int i = 0; i < n; i++) {
	    	output[i] = input[len--];
	    }

	    System.out.println(String.join(" ", output));

	} main {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    int n = Integer.parseInt(br.readLine());
	    String line = br.readLine();

	    String[] input = line.split(" ");
	    String[] output = new String[input.length];

	    int len = input.length - 1;
	    for (int i = 0; i < n; i++) {
	    	output[i] = input[len--];
	    }

	    System.out.println(String.join(" ", output));

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String line = br.readLine(); line br.readLine() br.readLine br String[] input = line.split(" "); input line.split(" ") line.split line " " String[] output = new String[input.length]; output new String[input.length] input.length input input.length int len = input.length - 1; len input.length - 1 input.length input input.length 1 for (int i = 0; i < n; i++) {
	    	output[i] = input[len--];
	    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
	    	output[i] = input[len--];
	    } {
	    	output[i] = input[len--];
	    } output[i] = input[len--] output[i] output i input[len--] input len-- len System.out.println(String.join(" ", output)) System.out.println System.out System System.out String.join(" ", output) String.join String " " output String[] args args public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    int n = Integer.parseInt(br.readLine());
	    String line = br.readLine();

	    String[] input = line.split(" ");
	    String[] output = new String[input.length];

	    int len = input.length - 1;
	    for (int i = 0; i < n; i++) {
	    	output[i] = input[len--];
	    }

	    System.out.println(String.join(" ", output));

	}
} public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    int n = Integer.parseInt(br.readLine());
	    String line = br.readLine();

	    String[] input = line.split(" ");
	    String[] output = new String[input.length];

	    int len = input.length - 1;
	    for (int i = 0; i < n; i++) {
	    	output[i] = input[len--];
	    }

	    System.out.println(String.join(" ", output));

	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    int n = Integer.parseInt(br.readLine());
	    String line = br.readLine();

	    String[] input = line.split(" ");
	    String[] output = new String[input.length];

	    int len = input.length - 1;
	    for (int i = 0; i < n; i++) {
	    	output[i] = input[len--];
	    }

	    System.out.println(String.join(" ", output));

	}
}