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

public class Main {
	public static void main(String[] args) throws IOException {
		/**
		 * ?????°?????£?¨?
		 */
		int n = 0;
		int temp = 0;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<Integer> reverse = new ArrayList<Integer>();
		/**
		 * ??\?????¨?????????????´?
		 */
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine()); //??\???????????????????????\???
		String box[] = new String[n];
		String str = br.readLine();
		box = str.split(" ");
		/**
		 * int???????????¨????????????????´?
		 */
		for(int i = 0; i < n; ++i){
			temp = Integer.parseInt(box[i]);
			reverse.add(temp);
		}
		for (int j = n-1; j >= 0; --j) {
			System.out.print(reverse.get(j));
			if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			}
		}
	}
} 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 public class Main {
	public static void main(String[] args) throws IOException {
		/**
		 * ?????°?????£?¨?
		 */
		int n = 0;
		int temp = 0;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<Integer> reverse = new ArrayList<Integer>();
		/**
		 * ??\?????¨?????????????´?
		 */
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine()); //??\???????????????????????\???
		String box[] = new String[n];
		String str = br.readLine();
		box = str.split(" ");
		/**
		 * int???????????¨????????????????´?
		 */
		for(int i = 0; i < n; ++i){
			temp = Integer.parseInt(box[i]);
			reverse.add(temp);
		}
		for (int j = n-1; j >= 0; --j) {
			System.out.print(reverse.get(j));
			if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			}
		}
	}
} Main public static void main(String[] args) throws IOException {
		/**
		 * ?????°?????£?¨?
		 */
		int n = 0;
		int temp = 0;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<Integer> reverse = new ArrayList<Integer>();
		/**
		 * ??\?????¨?????????????´?
		 */
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine()); //??\???????????????????????\???
		String box[] = new String[n];
		String str = br.readLine();
		box = str.split(" ");
		/**
		 * int???????????¨????????????????´?
		 */
		for(int i = 0; i < n; ++i){
			temp = Integer.parseInt(box[i]);
			reverse.add(temp);
		}
		for (int j = n-1; j >= 0; --j) {
			System.out.print(reverse.get(j));
			if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			}
		}
	} main {
		/**
		 * ?????°?????£?¨?
		 */
		int n = 0;
		int temp = 0;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<Integer> reverse = new ArrayList<Integer>();
		/**
		 * ??\?????¨?????????????´?
		 */
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine()); //??\???????????????????????\???
		String box[] = new String[n];
		String str = br.readLine();
		box = str.split(" ");
		/**
		 * int???????????¨????????????????´?
		 */
		for(int i = 0; i < n; ++i){
			temp = Integer.parseInt(box[i]);
			reverse.add(temp);
		}
		for (int j = n-1; j >= 0; --j) {
			System.out.print(reverse.get(j));
			if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			}
		}
	} int n = 0; n 0 int temp = 0; temp 0 ArrayList<Integer> reverse = new ArrayList<Integer>(); reverse new ArrayList<Integer>() BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) n = Integer.parseInt(br.readLine()) n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String box[] = new String[n]; box new String[n] n String str = br.readLine(); str br.readLine() br.readLine br box = str.split(" ") box str.split(" ") str.split str " " for(int i = 0; i < n; ++i){
			temp = Integer.parseInt(box[i]);
			reverse.add(temp);
		} int i = 0; int i = 0; i 0 i < n i n ++i ++i i {
			temp = Integer.parseInt(box[i]);
			reverse.add(temp);
		} {
			temp = Integer.parseInt(box[i]);
			reverse.add(temp);
		} temp = Integer.parseInt(box[i]) temp Integer.parseInt(box[i]) Integer.parseInt Integer box[i] box i reverse.add(temp) reverse.add reverse temp for (int j = n-1; j >= 0; --j) {
			System.out.print(reverse.get(j));
			if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			}
		} int j = n-1; int j = n-1; j n-1 n 1 j >= 0 j 0 --j --j j {
			System.out.print(reverse.get(j));
			if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			}
		} {
			System.out.print(reverse.get(j));
			if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			}
		} System.out.print(reverse.get(j)) System.out.print System.out System System.out reverse.get(j) reverse.get reverse j if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			} j != 0 j 0 {
				System.out.printf(" ");
			} System.out.printf(" ") System.out.printf System.out System System.out " " {
				System.out.println("");
			} System.out.println("") System.out.println System.out System System.out "" String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		/**
		 * ?????°?????£?¨?
		 */
		int n = 0;
		int temp = 0;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<Integer> reverse = new ArrayList<Integer>();
		/**
		 * ??\?????¨?????????????´?
		 */
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine()); //??\???????????????????????\???
		String box[] = new String[n];
		String str = br.readLine();
		box = str.split(" ");
		/**
		 * int???????????¨????????????????´?
		 */
		for(int i = 0; i < n; ++i){
			temp = Integer.parseInt(box[i]);
			reverse.add(temp);
		}
		for (int j = n-1; j >= 0; --j) {
			System.out.print(reverse.get(j));
			if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			}
		}
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		/**
		 * ?????°?????£?¨?
		 */
		int n = 0;
		int temp = 0;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<Integer> reverse = new ArrayList<Integer>();
		/**
		 * ??\?????¨?????????????´?
		 */
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine()); //??\???????????????????????\???
		String box[] = new String[n];
		String str = br.readLine();
		box = str.split(" ");
		/**
		 * int???????????¨????????????????´?
		 */
		for(int i = 0; i < n; ++i){
			temp = Integer.parseInt(box[i]);
			reverse.add(temp);
		}
		for (int j = n-1; j >= 0; --j) {
			System.out.print(reverse.get(j));
			if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			}
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;

public class Main {
	public static void main(String[] args) throws IOException {
		/**
		 * ?????°?????£?¨?
		 */
		int n = 0;
		int temp = 0;
		/**
		 * ???????????£?¨?
		 */
		ArrayList<Integer> reverse = new ArrayList<Integer>();
		/**
		 * ??\?????¨?????????????´?
		 */
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine()); //??\???????????????????????\???
		String box[] = new String[n];
		String str = br.readLine();
		box = str.split(" ");
		/**
		 * int???????????¨????????????????´?
		 */
		for(int i = 0; i < n; ++i){
			temp = Integer.parseInt(box[i]);
			reverse.add(temp);
		}
		for (int j = n-1; j >= 0; --j) {
			System.out.print(reverse.get(j));
			if (j != 0) {
				System.out.printf(" ");
			}
			else{
				System.out.println("");
			}
		}
	}
}