import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		
		for(int i = 0; i < n; i++){
			array[i] = scan.nextInt();
		}
		
		for(int j = 0; j < n / 2; j++){
			int a = array[j];
			array[j] = array[n - j - 1];
			array[n - j - 1] = a;
		}
		
		for(int k = 0; k < n; k++){
			System.out.print(array[k]);
			if(k == n - 1){
				System.out.println();
				break;
			}
			System.out.print(" ");
		}
	}
} 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[] array = new int[n];
		
		for(int i = 0; i < n; i++){
			array[i] = scan.nextInt();
		}
		
		for(int j = 0; j < n / 2; j++){
			int a = array[j];
			array[j] = array[n - j - 1];
			array[n - j - 1] = a;
		}
		
		for(int k = 0; k < n; k++){
			System.out.print(array[k]);
			if(k == n - 1){
				System.out.println();
				break;
			}
			System.out.print(" ");
		}
	}
} Main public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		
		for(int i = 0; i < n; i++){
			array[i] = scan.nextInt();
		}
		
		for(int j = 0; j < n / 2; j++){
			int a = array[j];
			array[j] = array[n - j - 1];
			array[n - j - 1] = a;
		}
		
		for(int k = 0; k < n; k++){
			System.out.print(array[k]);
			if(k == n - 1){
				System.out.println();
				break;
			}
			System.out.print(" ");
		}
	} main {
		
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		
		for(int i = 0; i < n; i++){
			array[i] = scan.nextInt();
		}
		
		for(int j = 0; j < n / 2; j++){
			int a = array[j];
			array[j] = array[n - j - 1];
			array[n - j - 1] = a;
		}
		
		for(int k = 0; k < n; k++){
			System.out.print(array[k]);
			if(k == n - 1){
				System.out.println();
				break;
			}
			System.out.print(" ");
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int[] array = new int[n]; array new int[n] n for(int i = 0; i < n; i++){
			array[i] = scan.nextInt();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			array[i] = scan.nextInt();
		} {
			array[i] = scan.nextInt();
		} array[i] = scan.nextInt() array[i] array i scan.nextInt() scan.nextInt scan for(int j = 0; j < n / 2; j++){
			int a = array[j];
			array[j] = array[n - j - 1];
			array[n - j - 1] = a;
		} int j = 0; int j = 0; j 0 j < n / 2 j n / 2 n 2 j++ j++ j {
			int a = array[j];
			array[j] = array[n - j - 1];
			array[n - j - 1] = a;
		} {
			int a = array[j];
			array[j] = array[n - j - 1];
			array[n - j - 1] = a;
		} int a = array[j]; a array[j] array j array[j] = array[n - j - 1] array[j] array j array[n - j - 1] array n - j - 1 n - j - 1 n j 1 array[n - j - 1] = a array[n - j - 1] array n - j - 1 n - j - 1 n j 1 a for(int k = 0; k < n; k++){
			System.out.print(array[k]);
			if(k == n - 1){
				System.out.println();
				break;
			}
			System.out.print(" ");
		} int k = 0; int k = 0; k 0 k < n k n k++ k++ k {
			System.out.print(array[k]);
			if(k == n - 1){
				System.out.println();
				break;
			}
			System.out.print(" ");
		} {
			System.out.print(array[k]);
			if(k == n - 1){
				System.out.println();
				break;
			}
			System.out.print(" ");
		} System.out.print(array[k]) System.out.print System.out System System.out array[k] array k if(k == n - 1){
				System.out.println();
				break;
			} k == n - 1 k n - 1 n 1 {
				System.out.println();
				break;
			} System.out.println() System.out.println System.out System System.out break; System.out.print(" ") System.out.print System.out System System.out " " String[] args args public class Main {

	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		
		for(int i = 0; i < n; i++){
			array[i] = scan.nextInt();
		}
		
		for(int j = 0; j < n / 2; j++){
			int a = array[j];
			array[j] = array[n - j - 1];
			array[n - j - 1] = a;
		}
		
		for(int k = 0; k < n; k++){
			System.out.print(array[k]);
			if(k == n - 1){
				System.out.println();
				break;
			}
			System.out.print(" ");
		}
	}
} public class Main {

	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		
		for(int i = 0; i < n; i++){
			array[i] = scan.nextInt();
		}
		
		for(int j = 0; j < n / 2; j++){
			int a = array[j];
			array[j] = array[n - j - 1];
			array[n - j - 1] = a;
		}
		
		for(int k = 0; k < n; k++){
			System.out.print(array[k]);
			if(k == n - 1){
				System.out.println();
				break;
			}
			System.out.print(" ");
		}
	}
} 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[] array = new int[n];
		
		for(int i = 0; i < n; i++){
			array[i] = scan.nextInt();
		}
		
		for(int j = 0; j < n / 2; j++){
			int a = array[j];
			array[j] = array[n - j - 1];
			array[n - j - 1] = a;
		}
		
		for(int k = 0; k < n; k++){
			System.out.print(array[k]);
			if(k == n - 1){
				System.out.println();
				break;
			}
			System.out.print(" ");
		}
	}
}