import java.util.Scanner;

public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int a[] = new int[n];
		for(int i = 0 ; i < n; i++){
			a[i] = s.nextInt();
		}
		for(int i = n - 1; 0 <= i; i--){
			System.out.print(a[i]);
			if(i != 0) System.out.print(" ");
		}
		System.out.println();
	}
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} import java.util.Scanner; Scanner java.util public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int a[] = new int[n];
		for(int i = 0 ; i < n; i++){
			a[i] = s.nextInt();
		}
		for(int i = n - 1; 0 <= i; i--){
			System.out.print(a[i]);
			if(i != 0) System.out.print(" ");
		}
		System.out.println();
	}
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} Main void run(){
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int a[] = new int[n];
		for(int i = 0 ; i < n; i++){
			a[i] = s.nextInt();
		}
		for(int i = n - 1; 0 <= i; i--){
			System.out.print(a[i]);
			if(i != 0) System.out.print(" ");
		}
		System.out.println();
	} run {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int a[] = new int[n];
		for(int i = 0 ; i < n; i++){
			a[i] = s.nextInt();
		}
		for(int i = n - 1; 0 <= i; i--){
			System.out.print(a[i]);
			if(i != 0) System.out.print(" ");
		}
		System.out.println();
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int n = s.nextInt(); n s.nextInt() s.nextInt s int a[] = new int[n]; a new int[n] n for(int i = 0 ; i < n; i++){
			a[i] = s.nextInt();
		} int i = 0 ; int i = 0 ; i 0 i < n i n i++ i++ i {
			a[i] = s.nextInt();
		} {
			a[i] = s.nextInt();
		} a[i] = s.nextInt() a[i] a i s.nextInt() s.nextInt s for(int i = n - 1; 0 <= i; i--){
			System.out.print(a[i]);
			if(i != 0) System.out.print(" ");
		} int i = n - 1; int i = n - 1; i n - 1 n 1 0 <= i 0 i i-- i-- i {
			System.out.print(a[i]);
			if(i != 0) System.out.print(" ");
		} {
			System.out.print(a[i]);
			if(i != 0) System.out.print(" ");
		} System.out.print(a[i]) System.out.print System.out System System.out a[i] a i if(i != 0) System.out.print(" "); i != 0 i 0 System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	} main {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	} new Main().run() new Main().run new Main() String[] args args public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int a[] = new int[n];
		for(int i = 0 ; i < n; i++){
			a[i] = s.nextInt();
		}
		for(int i = n - 1; 0 <= i; i--){
			System.out.print(a[i]);
			if(i != 0) System.out.print(" ");
		}
		System.out.println();
	}
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int a[] = new int[n];
		for(int i = 0 ; i < n; i++){
			a[i] = s.nextInt();
		}
		for(int i = n - 1; 0 <= i; i--){
			System.out.print(a[i]);
			if(i != 0) System.out.print(" ");
		}
		System.out.println();
	}
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} Main
import java.util.Scanner;

public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int a[] = new int[n];
		for(int i = 0 ; i < n; i++){
			a[i] = s.nextInt();
		}
		for(int i = n - 1; 0 <= i; i--){
			System.out.print(a[i]);
			if(i != 0) System.out.print(" ");
		}
		System.out.println();
	}
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
}