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
if n % 2 == 0 then
  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, " "))
else
  c = {}
  for i = #a, 1, -1 do
    table.insert(c, a[i])
  end
  for i = 1, #b do
    table.insert(c, b[i])
  end
  print(table.concat(c, " "))
end
