import java.util.Scanner;


public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n =scan.nextInt();
		int[] a = new int[n];
		int[] b = new int[n];

		for(int i=0;i<n;i++){
			a[i]=scan.nextInt();
		}

		for(int i=0;i<a.length;i++){
			b[a.length-(i+1)] = a[i];
		}
		
		for(int i=0; i<n-1;i++){
			System.out.print(b[i]+" ");
		}

		System.out.println(b[n-1]);
	}

} import java.util.Scanner; Scanner java.util public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n =scan.nextInt();
		int[] a = new int[n];
		int[] b = new int[n];

		for(int i=0;i<n;i++){
			a[i]=scan.nextInt();
		}

		for(int i=0;i<a.length;i++){
			b[a.length-(i+1)] = a[i];
		}
		
		for(int i=0; i<n-1;i++){
			System.out.print(b[i]+" ");
		}

		System.out.println(b[n-1]);
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n =scan.nextInt();
		int[] a = new int[n];
		int[] b = new int[n];

		for(int i=0;i<n;i++){
			a[i]=scan.nextInt();
		}

		for(int i=0;i<a.length;i++){
			b[a.length-(i+1)] = a[i];
		}
		
		for(int i=0; i<n-1;i++){
			System.out.print(b[i]+" ");
		}

		System.out.println(b[n-1]);
	} main {
		Scanner scan = new Scanner(System.in);
		int n =scan.nextInt();
		int[] a = new int[n];
		int[] b = new int[n];

		for(int i=0;i<n;i++){
			a[i]=scan.nextInt();
		}

		for(int i=0;i<a.length;i++){
			b[a.length-(i+1)] = a[i];
		}
		
		for(int i=0; i<n-1;i++){
			System.out.print(b[i]+" ");
		}

		System.out.println(b[n-1]);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n =scan.nextInt(); n scan.nextInt() scan.nextInt scan int[] a = new int[n]; a new int[n] n int[] b = new int[n]; b new int[n] n for(int i=0;i<n;i++){
			a[i]=scan.nextInt();
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			a[i]=scan.nextInt();
		} {
			a[i]=scan.nextInt();
		} a[i]=scan.nextInt() a[i] a i scan.nextInt() scan.nextInt scan for(int i=0;i<a.length;i++){
			b[a.length-(i+1)] = a[i];
		} int i=0; int i=0; i 0 i<a.length i a.length a a.length i++ i++ i {
			b[a.length-(i+1)] = a[i];
		} {
			b[a.length-(i+1)] = a[i];
		} b[a.length-(i+1)] = a[i] b[a.length-(i+1)] b a.length-(i+1) a.length a a.length (i+1) i 1 a[i] a i for(int i=0; i<n-1;i++){
			System.out.print(b[i]+" ");
		} int i=0; int i=0; i 0 i<n-1 i n-1 n 1 i++ i++ i {
			System.out.print(b[i]+" ");
		} {
			System.out.print(b[i]+" ");
		} System.out.print(b[i]+" ") System.out.print System.out System System.out b[i]+" " b[i] b i " " System.out.println(b[n-1]) System.out.println System.out System System.out b[n-1] b n-1 n 1 String[] args args public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n =scan.nextInt();
		int[] a = new int[n];
		int[] b = new int[n];

		for(int i=0;i<n;i++){
			a[i]=scan.nextInt();
		}

		for(int i=0;i<a.length;i++){
			b[a.length-(i+1)] = a[i];
		}
		
		for(int i=0; i<n-1;i++){
			System.out.print(b[i]+" ");
		}

		System.out.println(b[n-1]);
	}

} public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n =scan.nextInt();
		int[] a = new int[n];
		int[] b = new int[n];

		for(int i=0;i<n;i++){
			a[i]=scan.nextInt();
		}

		for(int i=0;i<a.length;i++){
			b[a.length-(i+1)] = a[i];
		}
		
		for(int i=0; i<n-1;i++){
			System.out.print(b[i]+" ");
		}

		System.out.println(b[n-1]);
	}

} Main
import java.util.Scanner;


public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n =scan.nextInt();
		int[] a = new int[n];
		int[] b = new int[n];

		for(int i=0;i<n;i++){
			a[i]=scan.nextInt();
		}

		for(int i=0;i<a.length;i++){
			b[a.length-(i+1)] = a[i];
		}
		
		for(int i=0; i<n-1;i++){
			System.out.print(b[i]+" ");
		}

		System.out.println(b[n-1]);
	}

}