import std.stdio;
import std.conv;
import std.string;
import std.typecons;
import std.algorithm;
import std.array;
import std.range;
import std.math;
import std.regex : regex;
import std.container;
import std.bigint;


void main()
{
  auto n = readln.chomp.to!int;
  auto a = readln.chomp.split.map!(to!int).array;
  auto b = new int[](n);

  auto j = 0;
  if (n % 2) {
    foreach_reverse (i; iota(0, n, 2)) {
      b[j] = a[i];
      j++;
    }
    foreach (i; iota(1, n, 2)) {
      b[j] = a[i];
      j++;
    }
  } else {
    foreach_reverse (i; iota(1, n, 2)) {
      b[j] = a[i];
      j++;
    }
    foreach (i; iota(0, n, 2)) {
      b[j] = a[i];
      j++;
    }
  }

  foreach (i, e; b) {
    write(e);
    if (i != b.length-1) write(" ");
  }
  writeln("");
}
