local n = io.read("*n")
local t = {}
for i = 1, n do t[i] = 0 end
if(n % 2 == 0) then
  for i = 1, n do
    local a = io.read("*n")
    if(i % 2 == 0) then
      t[1 + (n - i) / 2] = a
    else
      t[(n + i + 1) / 2] = a
    end
  end
else
  for i = 1, n do
    local a = io.read("*n")
    if(i % 2 == 0) then
      t[(n+ i + 1) / 2] = a
    else
      t[1 + (n - i) / 2] = a
    end
  end
end
print(table.concat(t, " "))
