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