import std.stdio, std.string, std.algorithm, std.conv, std.range, std.array;

void main() {
  readln();
  auto inp = readln().chomp.split;
  string[] b1, b2;
  for(int i; i<inp.length; i++){
    auto a = inp[i];
    if(i%2==0){b1 ~= a;}
    else{b2 ~= a;}
  }
  if(inp.length%2==0){b2.reverse(); (b2 ~ b1).join(" ").writeln;}
  else{b1.reverse(); (b1 ~ b2).join(" ").writeln;}
}