integer N
integer(16),allocatable,dimension(:)::A,B
read*,N
allocate(A(N),B(N))
read*,A
do i=1,N
  if(mod(i+N,2)==1)then
    B((N+1)/2+(i+1)/2)=A(i)
  else
    B((N+1)/2-(i+1)/2+1)=A(i)
  endif
end do
print"(i0)",B
end