import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.nextLine());
		String[] input = sc.nextLine().split(" ");
		String[] num = new String[n];
		for(int i=0;i<input.length;i++){
			num[i]=input[n-i-1];
		}
		for(int i=0;i<n-1;i++){
			System.out.print(num[i]+" ");
		}
		System.out.println(num[n-1]);
	}
} import java.util.*; util.* java class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.nextLine());
		String[] input = sc.nextLine().split(" ");
		String[] num = new String[n];
		for(int i=0;i<input.length;i++){
			num[i]=input[n-i-1];
		}
		for(int i=0;i<n-1;i++){
			System.out.print(num[i]+" ");
		}
		System.out.println(num[n-1]);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.nextLine());
		String[] input = sc.nextLine().split(" ");
		String[] num = new String[n];
		for(int i=0;i<input.length;i++){
			num[i]=input[n-i-1];
		}
		for(int i=0;i<n-1;i++){
			System.out.print(num[i]+" ");
		}
		System.out.println(num[n-1]);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.nextLine());
		String[] input = sc.nextLine().split(" ");
		String[] num = new String[n];
		for(int i=0;i<input.length;i++){
			num[i]=input[n-i-1];
		}
		for(int i=0;i<n-1;i++){
			System.out.print(num[i]+" ");
		}
		System.out.println(num[n-1]);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.nextLine()); n Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc String[] input = sc.nextLine().split(" "); input sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " String[] num = new String[n]; num new String[n] n for(int i=0;i<input.length;i++){
			num[i]=input[n-i-1];
		} int i=0; int i=0; i 0 i<input.length i input.length input input.length i++ i++ i {
			num[i]=input[n-i-1];
		} {
			num[i]=input[n-i-1];
		} num[i]=input[n-i-1] num[i] num i input[n-i-1] input n-i-1 n-i-1 n i 1 for(int i=0;i<n-1;i++){
			System.out.print(num[i]+" ");
		} int i=0; int i=0; i 0 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(num[n-1]) System.out.println System.out System System.out num[n-1] num n-1 n 1 String[] args args
import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.nextLine());
		String[] input = sc.nextLine().split(" ");
		String[] num = new String[n];
		for(int i=0;i<input.length;i++){
			num[i]=input[n-i-1];
		}
		for(int i=0;i<n-1;i++){
			System.out.print(num[i]+" ");
		}
		System.out.println(num[n-1]);
	}
}