import java.util.*;

class Main{
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		int num = scan.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		StringBuffer sb = new StringBuffer();

		for(int i=0; i<num; i++){
			list.add(scan.nextInt());
		}
		Collections.reverse(list);
		/*for(int i: list){
			sb.append(i + " ");
		}*/
		for(int i=0; i<num; i++){
			if((i+1)==num){
				sb.append(list.get(i));
			}
			else{
				sb.append(list.get(i) + " ");
			}
		}
		System.out.println(sb);
	}
} import java.util.*; util.* java class Main{
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		int num = scan.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		StringBuffer sb = new StringBuffer();

		for(int i=0; i<num; i++){
			list.add(scan.nextInt());
		}
		Collections.reverse(list);
		/*for(int i: list){
			sb.append(i + " ");
		}*/
		for(int i=0; i<num; i++){
			if((i+1)==num){
				sb.append(list.get(i));
			}
			else{
				sb.append(list.get(i) + " ");
			}
		}
		System.out.println(sb);
	}
} Main public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		int num = scan.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		StringBuffer sb = new StringBuffer();

		for(int i=0; i<num; i++){
			list.add(scan.nextInt());
		}
		Collections.reverse(list);
		/*for(int i: list){
			sb.append(i + " ");
		}*/
		for(int i=0; i<num; i++){
			if((i+1)==num){
				sb.append(list.get(i));
			}
			else{
				sb.append(list.get(i) + " ");
			}
		}
		System.out.println(sb);
	} main {
		Scanner scan = new Scanner(System.in);
		int num = scan.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		StringBuffer sb = new StringBuffer();

		for(int i=0; i<num; i++){
			list.add(scan.nextInt());
		}
		Collections.reverse(list);
		/*for(int i: list){
			sb.append(i + " ");
		}*/
		for(int i=0; i<num; i++){
			if((i+1)==num){
				sb.append(list.get(i));
			}
			else{
				sb.append(list.get(i) + " ");
			}
		}
		System.out.println(sb);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int num = scan.nextInt(); num scan.nextInt() scan.nextInt scan List<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() StringBuffer sb = new StringBuffer(); sb new StringBuffer() for(int i=0; i<num; i++){
			list.add(scan.nextInt());
		} int i=0; int i=0; i 0 i<num i num i++ i++ i {
			list.add(scan.nextInt());
		} {
			list.add(scan.nextInt());
		} list.add(scan.nextInt()) list.add list scan.nextInt() scan.nextInt scan Collections.reverse(list) Collections.reverse Collections list for(int i=0; i<num; i++){
			if((i+1)==num){
				sb.append(list.get(i));
			}
			else{
				sb.append(list.get(i) + " ");
			}
		} int i=0; int i=0; i 0 i<num i num i++ i++ i {
			if((i+1)==num){
				sb.append(list.get(i));
			}
			else{
				sb.append(list.get(i) + " ");
			}
		} {
			if((i+1)==num){
				sb.append(list.get(i));
			}
			else{
				sb.append(list.get(i) + " ");
			}
		} if((i+1)==num){
				sb.append(list.get(i));
			}
			else{
				sb.append(list.get(i) + " ");
			} (i+1)==num (i+1) i 1 num {
				sb.append(list.get(i));
			} sb.append(list.get(i)) sb.append sb list.get(i) list.get list i {
				sb.append(list.get(i) + " ");
			} sb.append(list.get(i) + " ") sb.append sb list.get(i) + " " list.get(i) list.get list i " " System.out.println(sb) System.out.println System.out System System.out sb String args[] args
import java.util.*;

class Main{
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		int num = scan.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		StringBuffer sb = new StringBuffer();

		for(int i=0; i<num; i++){
			list.add(scan.nextInt());
		}
		Collections.reverse(list);
		/*for(int i: list){
			sb.append(i + " ");
		}*/
		for(int i=0; i<num; i++){
			if((i+1)==num){
				sb.append(list.get(i));
			}
			else{
				sb.append(list.get(i) + " ");
			}
		}
		System.out.println(sb);
	}
}