import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		//String a[] = scan.nextLine().split(" ", n - 1);
		int a[] = new int[n];
		for(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????
			a[i] = scan.nextInt();
		}
		for(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????
			System.out.print(a[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		//String a[] = scan.nextLine().split(" ", n - 1);
		int a[] = new int[n];
		for(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????
			a[i] = scan.nextInt();
		}
		for(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????
			System.out.print(a[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
	}
} Main public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		//String a[] = scan.nextLine().split(" ", n - 1);
		int a[] = new int[n];
		for(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????
			a[i] = scan.nextInt();
		}
		for(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????
			System.out.print(a[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
	} main {
		@SuppressWarnings("resource")
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		//String a[] = scan.nextLine().split(" ", n - 1);
		int a[] = new int[n];
		for(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????
			a[i] = scan.nextInt();
		}
		for(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????
			System.out.print(a[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
	} @SuppressWarnings("resource")
		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 for(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????
			a[i] = scan.nextInt();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i { //length???????´???°????????§??????????????§?????????
			a[i] = scan.nextInt();
		} { //length???????´???°????????§??????????????§?????????
			a[i] = scan.nextInt();
		} a[i] = scan.nextInt() a[i] a i scan.nextInt() scan.nextInt scan for(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????
			System.out.print(a[i]);
			if(i != 0){
				System.out.print(" ");
			}
		} int i = a.length - 1; int i = a.length - 1; i a.length - 1 a.length a a.length 1 i >= 0 i 0 i-- i-- i { //length???????´???°????????§??????????????§?????????
			System.out.print(a[i]);
			if(i != 0){
				System.out.print(" ");
			}
		} { //length???????´???°????????§??????????????§?????????
			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.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) {
		@SuppressWarnings("resource")
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		//String a[] = scan.nextLine().split(" ", n - 1);
		int a[] = new int[n];
		for(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????
			a[i] = scan.nextInt();
		}
		for(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????
			System.out.print(a[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
	}
} public class Main {
	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		//String a[] = scan.nextLine().split(" ", n - 1);
		int a[] = new int[n];
		for(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????
			a[i] = scan.nextInt();
		}
		for(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????
			System.out.print(a[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		//String a[] = scan.nextLine().split(" ", n - 1);
		int a[] = new int[n];
		for(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????
			a[i] = scan.nextInt();
		}
		for(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????
			System.out.print(a[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println();
	}
}