import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int length = Integer.parseInt(reader.readLine());
    
    String[] intAryStr = reader.readLine().split(" ");
    int[] intAry = new int[intAryStr.length];
    for (int i = 0; i < intAry.length; i++)
      intAry[i] = Integer.parseInt(intAryStr[i]);
    
    reverse(intAry);

    for (int i = 0; i < intAry.length; i++)
      if (i == intAry.length-1)
        System.out.println(intAry[i]);
      else
        System.out.print(intAry[i] + " ");
  }

  public static void reverse(int[] array) {
    for (int i = 0; i < array.length / 2; i++) {
      int tmp = array[i];
      array[i] = array[array.length-1-i];
      array[array.length-1-i] = tmp;
    }
  }
  
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int length = Integer.parseInt(reader.readLine());
    
    String[] intAryStr = reader.readLine().split(" ");
    int[] intAry = new int[intAryStr.length];
    for (int i = 0; i < intAry.length; i++)
      intAry[i] = Integer.parseInt(intAryStr[i]);
    
    reverse(intAry);

    for (int i = 0; i < intAry.length; i++)
      if (i == intAry.length-1)
        System.out.println(intAry[i]);
      else
        System.out.print(intAry[i] + " ");
  }

  public static void reverse(int[] array) {
    for (int i = 0; i < array.length / 2; i++) {
      int tmp = array[i];
      array[i] = array[array.length-1-i];
      array[array.length-1-i] = tmp;
    }
  }
  
} Main public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int length = Integer.parseInt(reader.readLine());
    
    String[] intAryStr = reader.readLine().split(" ");
    int[] intAry = new int[intAryStr.length];
    for (int i = 0; i < intAry.length; i++)
      intAry[i] = Integer.parseInt(intAryStr[i]);
    
    reverse(intAry);

    for (int i = 0; i < intAry.length; i++)
      if (i == intAry.length-1)
        System.out.println(intAry[i]);
      else
        System.out.print(intAry[i] + " ");
  } main {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int length = Integer.parseInt(reader.readLine());
    
    String[] intAryStr = reader.readLine().split(" ");
    int[] intAry = new int[intAryStr.length];
    for (int i = 0; i < intAry.length; i++)
      intAry[i] = Integer.parseInt(intAryStr[i]);
    
    reverse(intAry);

    for (int i = 0; i < intAry.length; i++)
      if (i == intAry.length-1)
        System.out.println(intAry[i]);
      else
        System.out.print(intAry[i] + " ");
  } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) int length = Integer.parseInt(reader.readLine()); length Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader String[] intAryStr = reader.readLine().split(" "); intAryStr reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int[] intAry = new int[intAryStr.length]; intAry new int[intAryStr.length] intAryStr.length intAryStr intAryStr.length for (int i = 0; i < intAry.length; i++)
      intAry[i] = Integer.parseInt(intAryStr[i]); int i = 0; int i = 0; i 0 i < intAry.length i intAry.length intAry intAry.length i++ i++ i intAry[i] = Integer.parseInt(intAryStr[i]); intAry[i] = Integer.parseInt(intAryStr[i]) intAry[i] intAry i Integer.parseInt(intAryStr[i]) Integer.parseInt Integer intAryStr[i] intAryStr i reverse(intAry) reverse intAry for (int i = 0; i < intAry.length; i++)
      if (i == intAry.length-1)
        System.out.println(intAry[i]);
      else
        System.out.print(intAry[i] + " "); int i = 0; int i = 0; i 0 i < intAry.length i intAry.length intAry intAry.length i++ i++ i if (i == intAry.length-1)
        System.out.println(intAry[i]);
      else
        System.out.print(intAry[i] + " "); if (i == intAry.length-1)
        System.out.println(intAry[i]);
      else
        System.out.print(intAry[i] + " "); i == intAry.length-1 i intAry.length-1 intAry.length intAry intAry.length 1 System.out.println(intAry[i]) System.out.println System.out System System.out intAry[i] intAry i System.out.print(intAry[i] + " ") System.out.print System.out System System.out intAry[i] + " " intAry[i] intAry i " " String[] args args public static void reverse(int[] array) {
    for (int i = 0; i < array.length / 2; i++) {
      int tmp = array[i];
      array[i] = array[array.length-1-i];
      array[array.length-1-i] = tmp;
    }
  } reverse {
    for (int i = 0; i < array.length / 2; i++) {
      int tmp = array[i];
      array[i] = array[array.length-1-i];
      array[array.length-1-i] = tmp;
    }
  } for (int i = 0; i < array.length / 2; i++) {
      int tmp = array[i];
      array[i] = array[array.length-1-i];
      array[array.length-1-i] = tmp;
    } int i = 0; int i = 0; i 0 i < array.length / 2 i array.length / 2 array.length array array.length 2 i++ i++ i {
      int tmp = array[i];
      array[i] = array[array.length-1-i];
      array[array.length-1-i] = tmp;
    } {
      int tmp = array[i];
      array[i] = array[array.length-1-i];
      array[array.length-1-i] = tmp;
    } int tmp = array[i]; tmp array[i] array i array[i] = array[array.length-1-i] array[i] array i array[array.length-1-i] array array.length-1-i array.length-1-i array.length array array.length 1 i array[array.length-1-i] = tmp array[array.length-1-i] array array.length-1-i array.length-1-i array.length array array.length 1 i tmp int[] array array public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int length = Integer.parseInt(reader.readLine());
    
    String[] intAryStr = reader.readLine().split(" ");
    int[] intAry = new int[intAryStr.length];
    for (int i = 0; i < intAry.length; i++)
      intAry[i] = Integer.parseInt(intAryStr[i]);
    
    reverse(intAry);

    for (int i = 0; i < intAry.length; i++)
      if (i == intAry.length-1)
        System.out.println(intAry[i]);
      else
        System.out.print(intAry[i] + " ");
  }

  public static void reverse(int[] array) {
    for (int i = 0; i < array.length / 2; i++) {
      int tmp = array[i];
      array[i] = array[array.length-1-i];
      array[array.length-1-i] = tmp;
    }
  }
  
} public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int length = Integer.parseInt(reader.readLine());
    
    String[] intAryStr = reader.readLine().split(" ");
    int[] intAry = new int[intAryStr.length];
    for (int i = 0; i < intAry.length; i++)
      intAry[i] = Integer.parseInt(intAryStr[i]);
    
    reverse(intAry);

    for (int i = 0; i < intAry.length; i++)
      if (i == intAry.length-1)
        System.out.println(intAry[i]);
      else
        System.out.print(intAry[i] + " ");
  }

  public static void reverse(int[] array) {
    for (int i = 0; i < array.length / 2; i++) {
      int tmp = array[i];
      array[i] = array[array.length-1-i];
      array[array.length-1-i] = tmp;
    }
  }
  
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int length = Integer.parseInt(reader.readLine());
    
    String[] intAryStr = reader.readLine().split(" ");
    int[] intAry = new int[intAryStr.length];
    for (int i = 0; i < intAry.length; i++)
      intAry[i] = Integer.parseInt(intAryStr[i]);
    
    reverse(intAry);

    for (int i = 0; i < intAry.length; i++)
      if (i == intAry.length-1)
        System.out.println(intAry[i]);
      else
        System.out.print(intAry[i] + " ");
  }

  public static void reverse(int[] array) {
    for (int i = 0; i < array.length / 2; i++) {
      int tmp = array[i];
      array[i] = array[array.length-1-i];
      array[array.length-1-i] = tmp;
    }
  }
  
}