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

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