n = io.read("*n")
a, b = {}, {}
for i = 1, n do
  z = io.read("*n")
  if i % 2 == 1 then
    table.insert(a, z)
  else
    table.insert(b, z)
  end
end
c = {}
for i = #b, 1, -1 do
  table.insert(c, b[i])
end
for i = 1, #a do
  table.insert(c, a[i])
end
print(table.concat(c, " "))
