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