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

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

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