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