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

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

		int inputValue = Integer.parseInt(br.readLine());
		String[] inputData = br.readLine().split(" ");
		Integer [] number = new Integer[inputValue];

		for(int i = 0; i < inputData.length; i++){
			number[i] = Integer.parseInt(inputData[i]);
		}

		for(int i = number.length-1; i >= 1; i--){
			sb.append(number[i] + " ");
		}
		sb.append(number[0]);
		System.out.println(sb);
	}

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

		int inputValue = Integer.parseInt(br.readLine());
		String[] inputData = br.readLine().split(" ");
		Integer [] number = new Integer[inputValue];

		for(int i = 0; i < inputData.length; i++){
			number[i] = Integer.parseInt(inputData[i]);
		}

		for(int i = number.length-1; i >= 1; i--){
			sb.append(number[i] + " ");
		}
		sb.append(number[0]);
		System.out.println(sb);
	}

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

		int inputValue = Integer.parseInt(br.readLine());
		String[] inputData = br.readLine().split(" ");
		Integer [] number = new Integer[inputValue];

		for(int i = 0; i < inputData.length; i++){
			number[i] = Integer.parseInt(inputData[i]);
		}

		for(int i = number.length-1; i >= 1; i--){
			sb.append(number[i] + " ");
		}
		sb.append(number[0]);
		System.out.println(sb);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

		int inputValue = Integer.parseInt(br.readLine());
		String[] inputData = br.readLine().split(" ");
		Integer [] number = new Integer[inputValue];

		for(int i = 0; i < inputData.length; i++){
			number[i] = Integer.parseInt(inputData[i]);
		}

		for(int i = number.length-1; i >= 1; i--){
			sb.append(number[i] + " ");
		}
		sb.append(number[0]);
		System.out.println(sb);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() int inputValue = Integer.parseInt(br.readLine()); inputValue Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] inputData = br.readLine().split(" "); inputData br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " Integer [] number = new Integer[inputValue]; number new Integer[inputValue] inputValue for(int i = 0; i < inputData.length; i++){
			number[i] = Integer.parseInt(inputData[i]);
		} int i = 0; int i = 0; i 0 i < inputData.length i inputData.length inputData inputData.length i++ i++ i {
			number[i] = Integer.parseInt(inputData[i]);
		} {
			number[i] = Integer.parseInt(inputData[i]);
		} number[i] = Integer.parseInt(inputData[i]) number[i] number i Integer.parseInt(inputData[i]) Integer.parseInt Integer inputData[i] inputData i for(int i = number.length-1; i >= 1; i--){
			sb.append(number[i] + " ");
		} int i = number.length-1; int i = number.length-1; i number.length-1 number.length number number.length 1 i >= 1 i 1 i-- i-- i {
			sb.append(number[i] + " ");
		} {
			sb.append(number[i] + " ");
		} sb.append(number[i] + " ") sb.append sb number[i] + " " number[i] number i " " sb.append(number[0]) sb.append sb number[0] number 0 System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();

		int inputValue = Integer.parseInt(br.readLine());
		String[] inputData = br.readLine().split(" ");
		Integer [] number = new Integer[inputValue];

		for(int i = 0; i < inputData.length; i++){
			number[i] = Integer.parseInt(inputData[i]);
		}

		for(int i = number.length-1; i >= 1; i--){
			sb.append(number[i] + " ");
		}
		sb.append(number[0]);
		System.out.println(sb);
	}

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

		int inputValue = Integer.parseInt(br.readLine());
		String[] inputData = br.readLine().split(" ");
		Integer [] number = new Integer[inputValue];

		for(int i = 0; i < inputData.length; i++){
			number[i] = Integer.parseInt(inputData[i]);
		}

		for(int i = number.length-1; i >= 1; i--){
			sb.append(number[i] + " ");
		}
		sb.append(number[0]);
		System.out.println(sb);
	}

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

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

		int inputValue = Integer.parseInt(br.readLine());
		String[] inputData = br.readLine().split(" ");
		Integer [] number = new Integer[inputValue];

		for(int i = 0; i < inputData.length; i++){
			number[i] = Integer.parseInt(inputData[i]);
		}

		for(int i = number.length-1; i >= 1; i--){
			sb.append(number[i] + " ");
		}
		sb.append(number[0]);
		System.out.println(sb);
	}

}