implicit none
integer k,x,i
logical :: flg
read *,k,x
flg = .false.
do i = x-k+1,x+k-1
   if (flg) then
      write(6,'(a)',advance='no') ' '
   endif
   write(6,'(i0)',advance='no') i
   flg = .true.
enddo
write(6,'(a)') ''
end