import java.util.Scanner;

public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner (System.in);
		int n= sc.nextInt();
		int num[]= new int[n];
		for (int i=n-1;i>=0;--i){
			num[i]= sc.nextInt();
		}
		System.out.print(num[0]);
		for (int i=1;i<=n-1;++i){
			System.out.print(" "+num[i]);
		}
		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();
		int num[]= new int[n];
		for (int i=n-1;i>=0;--i){
			num[i]= sc.nextInt();
		}
		System.out.print(num[0]);
		for (int i=1;i<=n-1;++i){
			System.out.print(" "+num[i]);
		}
		System.out.println();
	}
} Main public static void main(String args[]){

		Scanner sc = new Scanner (System.in);
		int n= sc.nextInt();
		int num[]= new int[n];
		for (int i=n-1;i>=0;--i){
			num[i]= sc.nextInt();
		}
		System.out.print(num[0]);
		for (int i=1;i<=n-1;++i){
			System.out.print(" "+num[i]);
		}
		System.out.println();
	} main {

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

		Scanner sc = new Scanner (System.in);
		int n= sc.nextInt();
		int num[]= new int[n];
		for (int i=n-1;i>=0;--i){
			num[i]= sc.nextInt();
		}
		System.out.print(num[0]);
		for (int i=1;i<=n-1;++i){
			System.out.print(" "+num[i]);
		}
		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();
		int num[]= new int[n];
		for (int i=n-1;i>=0;--i){
			num[i]= sc.nextInt();
		}
		System.out.print(num[0]);
		for (int i=1;i<=n-1;++i){
			System.out.print(" "+num[i]);
		}
		System.out.println();
	}
}
