

import java.util.*;

public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int n;
		n = scan.nextInt();
		
		//?????????????????¨??????
		List<Integer> list = new ArrayList<Integer>();
		//n??????????????????n?????????????????\??????
		for(int count = 0; count<n;count++){
			list.add(scan.nextInt());
		}
		//??\??????????????????????????????????????????
		for(;0<=(n-1);n--){
			sb.append(list.get(n-1));
			if((n-1) != 0){
			sb.append(" ");
			}
		}
		System.out.println(new String(sb));		
		
		
		
		
	}
} import java.util.*; util.* java public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int n;
		n = scan.nextInt();
		
		//?????????????????¨??????
		List<Integer> list = new ArrayList<Integer>();
		//n??????????????????n?????????????????\??????
		for(int count = 0; count<n;count++){
			list.add(scan.nextInt());
		}
		//??\??????????????????????????????????????????
		for(;0<=(n-1);n--){
			sb.append(list.get(n-1));
			if((n-1) != 0){
			sb.append(" ");
			}
		}
		System.out.println(new String(sb));		
		
		
		
		
	}
} Main public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int n;
		n = scan.nextInt();
		
		//?????????????????¨??????
		List<Integer> list = new ArrayList<Integer>();
		//n??????????????????n?????????????????\??????
		for(int count = 0; count<n;count++){
			list.add(scan.nextInt());
		}
		//??\??????????????????????????????????????????
		for(;0<=(n-1);n--){
			sb.append(list.get(n-1));
			if((n-1) != 0){
			sb.append(" ");
			}
		}
		System.out.println(new String(sb));		
		
		
		
		
	} main {
		Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int n;
		n = scan.nextInt();
		
		//?????????????????¨??????
		List<Integer> list = new ArrayList<Integer>();
		//n??????????????????n?????????????????\??????
		for(int count = 0; count<n;count++){
			list.add(scan.nextInt());
		}
		//??\??????????????????????????????????????????
		for(;0<=(n-1);n--){
			sb.append(list.get(n-1));
			if((n-1) != 0){
			sb.append(" ");
			}
		}
		System.out.println(new String(sb));		
		
		
		
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) StringBuilder sb = new StringBuilder(); sb new StringBuilder() int n; n n = scan.nextInt() n scan.nextInt() scan.nextInt scan List<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() for(int count = 0; count<n;count++){
			list.add(scan.nextInt());
		} int count = 0; int count = 0; count 0 count<n count n count++ count++ count {
			list.add(scan.nextInt());
		} {
			list.add(scan.nextInt());
		} list.add(scan.nextInt()) list.add list scan.nextInt() scan.nextInt scan for(;0<=(n-1);n--){
			sb.append(list.get(n-1));
			if((n-1) != 0){
			sb.append(" ");
			}
		} ; 0<=(n-1) 0 (n-1) n 1 n-- n-- n {
			sb.append(list.get(n-1));
			if((n-1) != 0){
			sb.append(" ");
			}
		} {
			sb.append(list.get(n-1));
			if((n-1) != 0){
			sb.append(" ");
			}
		} sb.append(list.get(n-1)) sb.append sb list.get(n-1) list.get list n-1 n 1 if((n-1) != 0){
			sb.append(" ");
			} (n-1) != 0 (n-1) n 1 0 {
			sb.append(" ");
			} sb.append(" ") sb.append sb " " System.out.println(new String(sb)) System.out.println System.out System System.out new String(sb) String args[] args public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int n;
		n = scan.nextInt();
		
		//?????????????????¨??????
		List<Integer> list = new ArrayList<Integer>();
		//n??????????????????n?????????????????\??????
		for(int count = 0; count<n;count++){
			list.add(scan.nextInt());
		}
		//??\??????????????????????????????????????????
		for(;0<=(n-1);n--){
			sb.append(list.get(n-1));
			if((n-1) != 0){
			sb.append(" ");
			}
		}
		System.out.println(new String(sb));		
		
		
		
		
	}
} public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int n;
		n = scan.nextInt();
		
		//?????????????????¨??????
		List<Integer> list = new ArrayList<Integer>();
		//n??????????????????n?????????????????\??????
		for(int count = 0; count<n;count++){
			list.add(scan.nextInt());
		}
		//??\??????????????????????????????????????????
		for(;0<=(n-1);n--){
			sb.append(list.get(n-1));
			if((n-1) != 0){
			sb.append(" ");
			}
		}
		System.out.println(new String(sb));		
		
		
		
		
	}
} Main


import java.util.*;

public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int n;
		n = scan.nextInt();
		
		//?????????????????¨??????
		List<Integer> list = new ArrayList<Integer>();
		//n??????????????????n?????????????????\??????
		for(int count = 0; count<n;count++){
			list.add(scan.nextInt());
		}
		//??\??????????????????????????????????????????
		for(;0<=(n-1);n--){
			sb.append(list.get(n-1));
			if((n-1) != 0){
			sb.append(" ");
			}
		}
		System.out.println(new String(sb));		
		
		
		
		
	}
}