import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		List<Integer> list = new ArrayList<Integer>();
		int n = scan.nextInt();
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			list.add(a);
		}

		for(int i = n - 1; i >= 0; i--){
			if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			}
		}
	}
} import java.util.*; util.* java public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		List<Integer> list = new ArrayList<Integer>();
		int n = scan.nextInt();
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			list.add(a);
		}

		for(int i = n - 1; i >= 0; i--){
			if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			}
		}
	}
} Main private static final Scanner scan = new Scanner(System.in); scan new Scanner(System.in) public static void main(String[] args){
		List<Integer> list = new ArrayList<Integer>();
		int n = scan.nextInt();
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			list.add(a);
		}

		for(int i = n - 1; i >= 0; i--){
			if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			}
		}
	} main {
		List<Integer> list = new ArrayList<Integer>();
		int n = scan.nextInt();
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			list.add(a);
		}

		for(int i = n - 1; i >= 0; i--){
			if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			}
		}
	} List<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			list.add(a);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int a = scan.nextInt();
			list.add(a);
		} {
			int a = scan.nextInt();
			list.add(a);
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan list.add(a) list.add list a for(int i = n - 1; i >= 0; i--){
			if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			}
		} int i = n - 1; int i = n - 1; i n - 1 n 1 i >= 0 i 0 i-- i-- i {
			if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			}
		} {
			if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			}
		} if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			} i != 0 i 0 {
				System.out.printf("%d ", list.get(i));
			} System.out.printf("%d ", list.get(i)) System.out.printf System.out System System.out "%d " list.get(i) list.get list i {
				System.out.printf("%d\n", list.get(i));
			} System.out.printf("%d\n", list.get(i)) System.out.printf System.out System System.out "%d\n" list.get(i) list.get list i String[] args args public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		List<Integer> list = new ArrayList<Integer>();
		int n = scan.nextInt();
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			list.add(a);
		}

		for(int i = n - 1; i >= 0; i--){
			if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			}
		}
	}
} public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		List<Integer> list = new ArrayList<Integer>();
		int n = scan.nextInt();
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			list.add(a);
		}

		for(int i = n - 1; i >= 0; i--){
			if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			}
		}
	}
} Main
import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		List<Integer> list = new ArrayList<Integer>();
		int n = scan.nextInt();
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			list.add(a);
		}

		for(int i = n - 1; i >= 0; i--){
			if(i != 0){
				System.out.printf("%d ", list.get(i));
			} else{
				System.out.printf("%d\n", list.get(i));
			}
		}
	}
}