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

class Main {

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

} 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 class Main {

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

} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		Integer count = Integer.parseInt(br.readLine());
		String[] strNumArrays = br.readLine().split(" ");
		ArrayList<Integer> numArrayList = new ArrayList<Integer>();
		for (int i = 0; i < count; i++) {
			numArrayList.add(Integer.parseInt(strNumArrays[i]));
		}
		Collections.reverse(numArrayList);
		String out = "";
		for (int i = 0; i < numArrayList.size(); i++) {
			if (i == numArrayList.size() - 1) {
				out += numArrayList.get(i);
			} else {
				out += numArrayList.get(i) + " ";
			}
		}
		System.out.println(out);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		Integer count = Integer.parseInt(br.readLine());
		String[] strNumArrays = br.readLine().split(" ");
		ArrayList<Integer> numArrayList = new ArrayList<Integer>();
		for (int i = 0; i < count; i++) {
			numArrayList.add(Integer.parseInt(strNumArrays[i]));
		}
		Collections.reverse(numArrayList);
		String out = "";
		for (int i = 0; i < numArrayList.size(); i++) {
			if (i == numArrayList.size() - 1) {
				out += numArrayList.get(i);
			} else {
				out += numArrayList.get(i) + " ";
			}
		}
		System.out.println(out);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) Integer count = Integer.parseInt(br.readLine()); count Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] strNumArrays = br.readLine().split(" "); strNumArrays br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " ArrayList<Integer> numArrayList = new ArrayList<Integer>(); numArrayList new ArrayList<Integer>() for (int i = 0; i < count; i++) {
			numArrayList.add(Integer.parseInt(strNumArrays[i]));
		} int i = 0; int i = 0; i 0 i < count i count i++ i++ i {
			numArrayList.add(Integer.parseInt(strNumArrays[i]));
		} {
			numArrayList.add(Integer.parseInt(strNumArrays[i]));
		} numArrayList.add(Integer.parseInt(strNumArrays[i])) numArrayList.add numArrayList Integer.parseInt(strNumArrays[i]) Integer.parseInt Integer strNumArrays[i] strNumArrays i Collections.reverse(numArrayList) Collections.reverse Collections numArrayList String out = ""; out "" for (int i = 0; i < numArrayList.size(); i++) {
			if (i == numArrayList.size() - 1) {
				out += numArrayList.get(i);
			} else {
				out += numArrayList.get(i) + " ";
			}
		} int i = 0; int i = 0; i 0 i < numArrayList.size() i numArrayList.size() numArrayList.size numArrayList i++ i++ i {
			if (i == numArrayList.size() - 1) {
				out += numArrayList.get(i);
			} else {
				out += numArrayList.get(i) + " ";
			}
		} {
			if (i == numArrayList.size() - 1) {
				out += numArrayList.get(i);
			} else {
				out += numArrayList.get(i) + " ";
			}
		} if (i == numArrayList.size() - 1) {
				out += numArrayList.get(i);
			} else {
				out += numArrayList.get(i) + " ";
			} i == numArrayList.size() - 1 i numArrayList.size() - 1 numArrayList.size() numArrayList.size numArrayList 1 {
				out += numArrayList.get(i);
			} out += numArrayList.get(i) out numArrayList.get(i) numArrayList.get numArrayList i {
				out += numArrayList.get(i) + " ";
			} out += numArrayList.get(i) + " " out numArrayList.get(i) + " " numArrayList.get(i) numArrayList.get numArrayList i " " System.out.println(out) System.out.println System.out System System.out out String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;

class Main {

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

}