import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String[] inputNum = br.readLine().split(" ");
		List<Integer> numArray = new ArrayList<Integer>();
		for (int i = 0; i < length; i++) {
			numArray.add(Integer.parseInt(inputNum[i]));
		}
		Collections.reverse(numArray);
		for (int i = 0; i < numArray.size(); i++) {
			if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			}
		}
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.List; List java.util public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String[] inputNum = br.readLine().split(" ");
		List<Integer> numArray = new ArrayList<Integer>();
		for (int i = 0; i < length; i++) {
			numArray.add(Integer.parseInt(inputNum[i]));
		}
		Collections.reverse(numArray);
		for (int i = 0; i < numArray.size(); i++) {
			if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			}
		}
	}

} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String[] inputNum = br.readLine().split(" ");
		List<Integer> numArray = new ArrayList<Integer>();
		for (int i = 0; i < length; i++) {
			numArray.add(Integer.parseInt(inputNum[i]));
		}
		Collections.reverse(numArray);
		for (int i = 0; i < numArray.size(); i++) {
			if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			}
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String[] inputNum = br.readLine().split(" ");
		List<Integer> numArray = new ArrayList<Integer>();
		for (int i = 0; i < length; i++) {
			numArray.add(Integer.parseInt(inputNum[i]));
		}
		Collections.reverse(numArray);
		for (int i = 0; i < numArray.size(); i++) {
			if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			}
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int length = Integer.parseInt(br.readLine()); length Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] inputNum = br.readLine().split(" "); inputNum br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " List<Integer> numArray = new ArrayList<Integer>(); numArray new ArrayList<Integer>() for (int i = 0; i < length; i++) {
			numArray.add(Integer.parseInt(inputNum[i]));
		} int i = 0; int i = 0; i 0 i < length i length i++ i++ i {
			numArray.add(Integer.parseInt(inputNum[i]));
		} {
			numArray.add(Integer.parseInt(inputNum[i]));
		} numArray.add(Integer.parseInt(inputNum[i])) numArray.add numArray Integer.parseInt(inputNum[i]) Integer.parseInt Integer inputNum[i] inputNum i Collections.reverse(numArray) Collections.reverse Collections numArray for (int i = 0; i < numArray.size(); i++) {
			if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			}
		} int i = 0; int i = 0; i 0 i < numArray.size() i numArray.size() numArray.size numArray i++ i++ i {
			if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			}
		} {
			if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			}
		} if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			} i == numArray.size()-1 i numArray.size()-1 numArray.size() numArray.size numArray 1 {
				System.out.println(numArray.get(i));
			} System.out.println(numArray.get(i)) System.out.println System.out System System.out numArray.get(i) numArray.get numArray i {
				System.out.print(numArray.get(i) + " ");
			} System.out.print(numArray.get(i) + " ") System.out.print System.out System System.out numArray.get(i) + " " numArray.get(i) numArray.get numArray i " " String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String[] inputNum = br.readLine().split(" ");
		List<Integer> numArray = new ArrayList<Integer>();
		for (int i = 0; i < length; i++) {
			numArray.add(Integer.parseInt(inputNum[i]));
		}
		Collections.reverse(numArray);
		for (int i = 0; i < numArray.size(); i++) {
			if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			}
		}
	}

} public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String[] inputNum = br.readLine().split(" ");
		List<Integer> numArray = new ArrayList<Integer>();
		for (int i = 0; i < length; i++) {
			numArray.add(Integer.parseInt(inputNum[i]));
		}
		Collections.reverse(numArray);
		for (int i = 0; i < numArray.size(); i++) {
			if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			}
		}
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String[] inputNum = br.readLine().split(" ");
		List<Integer> numArray = new ArrayList<Integer>();
		for (int i = 0; i < length; i++) {
			numArray.add(Integer.parseInt(inputNum[i]));
		}
		Collections.reverse(numArray);
		for (int i = 0; i < numArray.size(); i++) {
			if (i == numArray.size()-1) {
				System.out.println(numArray.get(i));
			}else {
				System.out.print(numArray.get(i) + " ");
			}
		}
	}

}