import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        
        // Read array size
        int n = sc.nextInt();
        
        // Validate input according to constraints: -100 ≤ N ≤ 100
        if (n < -100 || n > 100) {
            System.out.print("Invalid input");
            sc.close();
            return;
        }
        
        // Check if n is non-positive (including negative values)
        if (n <= 0) {
            System.out.print("Invalid input");
            sc.close();
            return;
        }
        
        int[] A = new int[n];
        
        // Read array elements
        for (int i = 0; i < n; i++) {
            A[i] = sc.nextInt();
        }
        
        // Reverse the array in-place (O(1) extra space)
        for (int i = 0; i < n / 2; i++) {
            // Swap elements from start and end
            int temp = A[i];
            A[i] = A[n - 1 - i];
            A[n - 1 - i] = temp;
        }
        
        // Print the reversed array
        for (int i = 0; i < n; i++) {
            System.out.print(A[i]);
            if (i < n - 1) {
                System.out.print(" ");
            }
        }
        
        sc.close();
    }
}