local n=io.read("*n")
local b=""
local reverse=false
for i=1,n do
    local a=io.read("*n")
    if i%2==1 then
        b=b.." "..a
        reverse=true
    else
        b=a.." "..b
        reverse=false
    end
end
print(reverse and string.reverse(b) or b)