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