
import java.util.Scanner;
import java.util.ArrayList;

public class Main {
	public static void main(String[] args) {
		int n, i, a;
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> su = new ArrayList<Integer>();
		n = sc.nextInt();
		
		for(i = 0; n - 1 >= i; i++){
			a = sc.nextInt();
			su.add(new Integer(a));
		}
		
		for(i = n - 1; i >= 0; i--){
			if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " ");
		}			
	}
} import java.util.Scanner; Scanner java.util import java.util.ArrayList; ArrayList java.util public class Main {
	public static void main(String[] args) {
		int n, i, a;
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> su = new ArrayList<Integer>();
		n = sc.nextInt();
		
		for(i = 0; n - 1 >= i; i++){
			a = sc.nextInt();
			su.add(new Integer(a));
		}
		
		for(i = n - 1; i >= 0; i--){
			if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " ");
		}			
	}
} Main public static void main(String[] args) {
		int n, i, a;
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> su = new ArrayList<Integer>();
		n = sc.nextInt();
		
		for(i = 0; n - 1 >= i; i++){
			a = sc.nextInt();
			su.add(new Integer(a));
		}
		
		for(i = n - 1; i >= 0; i--){
			if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " ");
		}			
	} main {
		int n, i, a;
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> su = new ArrayList<Integer>();
		n = sc.nextInt();
		
		for(i = 0; n - 1 >= i; i++){
			a = sc.nextInt();
			su.add(new Integer(a));
		}
		
		for(i = n - 1; i >= 0; i--){
			if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " ");
		}			
	} int n n i i a; a Scanner sc = new Scanner(System.in); sc new Scanner(System.in) ArrayList<Integer> su = new ArrayList<Integer>(); su new ArrayList<Integer>() n = sc.nextInt() n sc.nextInt() sc.nextInt sc for(i = 0; n - 1 >= i; i++){
			a = sc.nextInt();
			su.add(new Integer(a));
		} i = 0; i = 0 i 0 n - 1 >= i n - 1 n 1 i i++ i++ i {
			a = sc.nextInt();
			su.add(new Integer(a));
		} {
			a = sc.nextInt();
			su.add(new Integer(a));
		} a = sc.nextInt() a sc.nextInt() sc.nextInt sc su.add(new Integer(a)) su.add su new Integer(a) for(i = n - 1; i >= 0; i--){
			if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " ");
		} i = n - 1; i = n - 1 i n - 1 n 1 i >= 0 i 0 i-- i-- i {
			if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " ");
		} {
			if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " ");
		} if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " "); i == 0 i 0 System.out.println(su.get(new Integer(0))) System.out.println System.out System System.out su.get(new Integer(0)) su.get su new Integer(0) System.out.print(su.get(new Integer(i)) + " ") System.out.print System.out System System.out su.get(new Integer(i)) + " " su.get(new Integer(i)) su.get su new Integer(i) " " String[] args args public class Main {
	public static void main(String[] args) {
		int n, i, a;
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> su = new ArrayList<Integer>();
		n = sc.nextInt();
		
		for(i = 0; n - 1 >= i; i++){
			a = sc.nextInt();
			su.add(new Integer(a));
		}
		
		for(i = n - 1; i >= 0; i--){
			if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " ");
		}			
	}
} public class Main {
	public static void main(String[] args) {
		int n, i, a;
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> su = new ArrayList<Integer>();
		n = sc.nextInt();
		
		for(i = 0; n - 1 >= i; i++){
			a = sc.nextInt();
			su.add(new Integer(a));
		}
		
		for(i = n - 1; i >= 0; i--){
			if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " ");
		}			
	}
} Main

import java.util.Scanner;
import java.util.ArrayList;

public class Main {
	public static void main(String[] args) {
		int n, i, a;
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> su = new ArrayList<Integer>();
		n = sc.nextInt();
		
		for(i = 0; n - 1 >= i; i++){
			a = sc.nextInt();
			su.add(new Integer(a));
		}
		
		for(i = n - 1; i >= 0; i--){
			if(i == 0)
				System.out.println(su.get(new Integer(0)));
			else
				System.out.print(su.get(new Integer(i)) + " ");
		}			
	}
}