import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args){
		long[] in = new long[Integer.parseInt(s.next())];
		for (int i = 0; i < in.length; i++) {
			in[i]=Long.parseLong(s.next());
		}
		reverse(in);
		boolean b = false;
		for(long l:in) {
			if(b)
				System.out.print(" ");
			b=true;
				System.out.print(l);
		}
		System.out.println();
	}
	static void swap(long[] l, int a, int b) {
		l[a] += l[b];
		l[b]  = l[a] - l[b];
		l[a] -= l[b];
	}
	static void reverse(long[] b) {
		for (int c = 0; c < b.length / 2; c++) {
			swap(b, c, b.length - 1 - c);
		}
	}

} import java.util.*; util.* java class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args){
		long[] in = new long[Integer.parseInt(s.next())];
		for (int i = 0; i < in.length; i++) {
			in[i]=Long.parseLong(s.next());
		}
		reverse(in);
		boolean b = false;
		for(long l:in) {
			if(b)
				System.out.print(" ");
			b=true;
				System.out.print(l);
		}
		System.out.println();
	}
	static void swap(long[] l, int a, int b) {
		l[a] += l[b];
		l[b]  = l[a] - l[b];
		l[a] -= l[b];
	}
	static void reverse(long[] b) {
		for (int c = 0; c < b.length / 2; c++) {
			swap(b, c, b.length - 1 - c);
		}
	}

} Main static Scanner s = new Scanner(System.in); s new Scanner(System.in) public static void main(String[] args){
		long[] in = new long[Integer.parseInt(s.next())];
		for (int i = 0; i < in.length; i++) {
			in[i]=Long.parseLong(s.next());
		}
		reverse(in);
		boolean b = false;
		for(long l:in) {
			if(b)
				System.out.print(" ");
			b=true;
				System.out.print(l);
		}
		System.out.println();
	} main {
		long[] in = new long[Integer.parseInt(s.next())];
		for (int i = 0; i < in.length; i++) {
			in[i]=Long.parseLong(s.next());
		}
		reverse(in);
		boolean b = false;
		for(long l:in) {
			if(b)
				System.out.print(" ");
			b=true;
				System.out.print(l);
		}
		System.out.println();
	} long[] in = new long[Integer.parseInt(s.next())]; in new long[Integer.parseInt(s.next())] Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s for (int i = 0; i < in.length; i++) {
			in[i]=Long.parseLong(s.next());
		} int i = 0; int i = 0; i 0 i < in.length i in.length in in.length i++ i++ i {
			in[i]=Long.parseLong(s.next());
		} {
			in[i]=Long.parseLong(s.next());
		} in[i]=Long.parseLong(s.next()) in[i] in i Long.parseLong(s.next()) Long.parseLong Long s.next() s.next s reverse(in) reverse in boolean b = false; b false for(long l:in) {
			if(b)
				System.out.print(" ");
			b=true;
				System.out.print(l);
		} long l in {
			if(b)
				System.out.print(" ");
			b=true;
				System.out.print(l);
		} {
			if(b)
				System.out.print(" ");
			b=true;
				System.out.print(l);
		} if(b)
				System.out.print(" "); b System.out.print(" ") System.out.print System.out System System.out " " b=true b true System.out.print(l) System.out.print System.out System System.out l System.out.println() System.out.println System.out System System.out String[] args args static void swap(long[] l, int a, int b) {
		l[a] += l[b];
		l[b]  = l[a] - l[b];
		l[a] -= l[b];
	} swap {
		l[a] += l[b];
		l[b]  = l[a] - l[b];
		l[a] -= l[b];
	} l[a] += l[b] l[a] l a l[b] l b l[b]  = l[a] - l[b] l[b] l b l[a] - l[b] l[a] l a l[b] l b l[a] -= l[b] l[a] l a l[b] l b long[] l l int a a int b b static void reverse(long[] b) {
		for (int c = 0; c < b.length / 2; c++) {
			swap(b, c, b.length - 1 - c);
		}
	} reverse {
		for (int c = 0; c < b.length / 2; c++) {
			swap(b, c, b.length - 1 - c);
		}
	} for (int c = 0; c < b.length / 2; c++) {
			swap(b, c, b.length - 1 - c);
		} int c = 0; int c = 0; c 0 c < b.length / 2 c b.length / 2 b.length b b.length 2 c++ c++ c {
			swap(b, c, b.length - 1 - c);
		} {
			swap(b, c, b.length - 1 - c);
		} swap(b, c, b.length - 1 - c) swap b c b.length - 1 - c b.length - 1 - c b.length b b.length 1 c long[] b b
import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args){
		long[] in = new long[Integer.parseInt(s.next())];
		for (int i = 0; i < in.length; i++) {
			in[i]=Long.parseLong(s.next());
		}
		reverse(in);
		boolean b = false;
		for(long l:in) {
			if(b)
				System.out.print(" ");
			b=true;
				System.out.print(l);
		}
		System.out.println();
	}
	static void swap(long[] l, int a, int b) {
		l[a] += l[b];
		l[b]  = l[a] - l[b];
		l[a] -= l[b];
	}
	static void reverse(long[] b) {
		for (int c = 0; c < b.length / 2; c++) {
			swap(b, c, b.length - 1 - c);
		}
	}

}