import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=n;
		int[] num = new int[n];
		for (int a=0;a<x;a++){
			n=sc.nextInt();
			num[a]=n;
		}
		for (int b=x-1;b>0;b--){
			System.out.print(num[b]+" ");
		}
		System.out.println(num[0]);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=n;
		int[] num = new int[n];
		for (int a=0;a<x;a++){
			n=sc.nextInt();
			num[a]=n;
		}
		for (int b=x-1;b>0;b--){
			System.out.print(num[b]+" ");
		}
		System.out.println(num[0]);
	}
} Main public static void main(String[] args) {
		
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=n;
		int[] num = new int[n];
		for (int a=0;a<x;a++){
			n=sc.nextInt();
			num[a]=n;
		}
		for (int b=x-1;b>0;b--){
			System.out.print(num[b]+" ");
		}
		System.out.println(num[0]);
	} main {
		
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=n;
		int[] num = new int[n];
		for (int a=0;a<x;a++){
			n=sc.nextInt();
			num[a]=n;
		}
		for (int b=x-1;b>0;b--){
			System.out.print(num[b]+" ");
		}
		System.out.println(num[0]);
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int x=n; x n int[] num = new int[n]; num new int[n] n for (int a=0;a<x;a++){
			n=sc.nextInt();
			num[a]=n;
		} int a=0; int a=0; a 0 a<x a x a++ a++ a {
			n=sc.nextInt();
			num[a]=n;
		} {
			n=sc.nextInt();
			num[a]=n;
		} n=sc.nextInt() n sc.nextInt() sc.nextInt sc num[a]=n num[a] num a n for (int b=x-1;b>0;b--){
			System.out.print(num[b]+" ");
		} int b=x-1; int b=x-1; b x-1 x 1 b>0 b 0 b-- b-- b {
			System.out.print(num[b]+" ");
		} {
			System.out.print(num[b]+" ");
		} System.out.print(num[b]+" ") System.out.print System.out System System.out num[b]+" " num[b] num b " " System.out.println(num[0]) System.out.println System.out System System.out num[0] num 0 String[] args args public class Main {

	public static void main(String[] args) {
		
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=n;
		int[] num = new int[n];
		for (int a=0;a<x;a++){
			n=sc.nextInt();
			num[a]=n;
		}
		for (int b=x-1;b>0;b--){
			System.out.print(num[b]+" ");
		}
		System.out.println(num[0]);
	}
} public class Main {

	public static void main(String[] args) {
		
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=n;
		int[] num = new int[n];
		for (int a=0;a<x;a++){
			n=sc.nextInt();
			num[a]=n;
		}
		for (int b=x-1;b>0;b--){
			System.out.print(num[b]+" ");
		}
		System.out.println(num[0]);
	}
} Main
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=n;
		int[] num = new int[n];
		for (int a=0;a<x;a++){
			n=sc.nextInt();
			num[a]=n;
		}
		for (int b=x-1;b>0;b--){
			System.out.print(num[b]+" ");
		}
		System.out.println(num[0]);
	}
}