import java.util.*;
class Main{
	Scanner sc=new Scanner(System.in);
	void aa(){
		int n=sc.nextInt();
		int[] N=new int[n];
		for(int i=n;i>0;i--)N[i-1]=sc.nextInt();
		for(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+" ");
		System.out.println(N[n-1]);
	}
	public static void main(String[]arg){
		new Main().aa();
	}
} import java.util.*; util.* java class Main{
	Scanner sc=new Scanner(System.in);
	void aa(){
		int n=sc.nextInt();
		int[] N=new int[n];
		for(int i=n;i>0;i--)N[i-1]=sc.nextInt();
		for(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+" ");
		System.out.println(N[n-1]);
	}
	public static void main(String[]arg){
		new Main().aa();
	}
} Main Scanner sc=new Scanner(System.in); sc new Scanner(System.in) void aa(){
		int n=sc.nextInt();
		int[] N=new int[n];
		for(int i=n;i>0;i--)N[i-1]=sc.nextInt();
		for(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+" ");
		System.out.println(N[n-1]);
	} aa {
		int n=sc.nextInt();
		int[] N=new int[n];
		for(int i=n;i>0;i--)N[i-1]=sc.nextInt();
		for(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+" ");
		System.out.println(N[n-1]);
	} int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] N=new int[n]; N new int[n] n for(int i=n;i>0;i--)N[i-1]=sc.nextInt(); int i=n; int i=n; i n i>0 i 0 i-- i-- i N[i-1]=sc.nextInt(); N[i-1]=sc.nextInt() N[i-1] N i-1 i 1 sc.nextInt() sc.nextInt sc for(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+" "); int i=0; int i=0; i 0 i<n i n i++ i++ i if(i!=n-1)System.out.print(N[i]+" "); if(i!=n-1)System.out.print(N[i]+" "); i!=n-1 i n-1 n 1 System.out.print(N[i]+" ") System.out.print System.out System System.out N[i]+" " N[i] N i " " System.out.println(N[n-1]) System.out.println System.out System System.out N[n-1] N n-1 n 1 public static void main(String[]arg){
		new Main().aa();
	} main {
		new Main().aa();
	} new Main().aa() new Main().aa new Main() String[]arg arg
import java.util.*;
class Main{
	Scanner sc=new Scanner(System.in);
	void aa(){
		int n=sc.nextInt();
		int[] N=new int[n];
		for(int i=n;i>0;i--)N[i-1]=sc.nextInt();
		for(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+" ");
		System.out.println(N[n-1]);
	}
	public static void main(String[]arg){
		new Main().aa();
	}
}