import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int i;
		int x[] = new int[256];
		int n = scan.nextInt();
		for(i = 1; i <= n; i++) {
		 x[i] = scan.nextInt();
		}
		 for( i = n; i >= 1 ; i--){
			 System.out.print(x[i]);
			 if(i==1){
				 break;
			 }
			 System.out.print(" ");
		 }
		 System.out.println("");
		}
	} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int i;
		int x[] = new int[256];
		int n = scan.nextInt();
		for(i = 1; i <= n; i++) {
		 x[i] = scan.nextInt();
		}
		 for( i = n; i >= 1 ; i--){
			 System.out.print(x[i]);
			 if(i==1){
				 break;
			 }
			 System.out.print(" ");
		 }
		 System.out.println("");
		}
	} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int i;
		int x[] = new int[256];
		int n = scan.nextInt();
		for(i = 1; i <= n; i++) {
		 x[i] = scan.nextInt();
		}
		 for( i = n; i >= 1 ; i--){
			 System.out.print(x[i]);
			 if(i==1){
				 break;
			 }
			 System.out.print(" ");
		 }
		 System.out.println("");
		} main {
		Scanner scan = new Scanner(System.in);
		int i;
		int x[] = new int[256];
		int n = scan.nextInt();
		for(i = 1; i <= n; i++) {
		 x[i] = scan.nextInt();
		}
		 for( i = n; i >= 1 ; i--){
			 System.out.print(x[i]);
			 if(i==1){
				 break;
			 }
			 System.out.print(" ");
		 }
		 System.out.println("");
		} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int i; i int x[] = new int[256]; x new int[256] 256 int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan for(i = 1; i <= n; i++) {
		 x[i] = scan.nextInt();
		} i = 1; i = 1 i 1 i <= n i n i++ i++ i {
		 x[i] = scan.nextInt();
		} {
		 x[i] = scan.nextInt();
		} x[i] = scan.nextInt() x[i] x i scan.nextInt() scan.nextInt scan for( i = n; i >= 1 ; i--){
			 System.out.print(x[i]);
			 if(i==1){
				 break;
			 }
			 System.out.print(" ");
		 } i = n; i = n i n i >= 1 i 1 i-- i-- i {
			 System.out.print(x[i]);
			 if(i==1){
				 break;
			 }
			 System.out.print(" ");
		 } {
			 System.out.print(x[i]);
			 if(i==1){
				 break;
			 }
			 System.out.print(" ");
		 } System.out.print(x[i]) System.out.print System.out System System.out x[i] x i if(i==1){
				 break;
			 } i==1 i 1 {
				 break;
			 } break; System.out.print(" ") System.out.print System.out System System.out " " System.out.println("") System.out.println System.out System System.out "" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int i;
		int x[] = new int[256];
		int n = scan.nextInt();
		for(i = 1; i <= n; i++) {
		 x[i] = scan.nextInt();
		}
		 for( i = n; i >= 1 ; i--){
			 System.out.print(x[i]);
			 if(i==1){
				 break;
			 }
			 System.out.print(" ");
		 }
		 System.out.println("");
		}
	} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int i;
		int x[] = new int[256];
		int n = scan.nextInt();
		for(i = 1; i <= n; i++) {
		 x[i] = scan.nextInt();
		}
		 for( i = n; i >= 1 ; i--){
			 System.out.print(x[i]);
			 if(i==1){
				 break;
			 }
			 System.out.print(" ");
		 }
		 System.out.println("");
		}
	} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int i;
		int x[] = new int[256];
		int n = scan.nextInt();
		for(i = 1; i <= n; i++) {
		 x[i] = scan.nextInt();
		}
		 for( i = n; i >= 1 ; i--){
			 System.out.print(x[i]);
			 if(i==1){
				 break;
			 }
			 System.out.print(" ");
		 }
		 System.out.println("");
		}
	}