program o
  implicit none
  integer :: k,x,i

  read(*,*) k,x

  do i=1,2*k-1
     write(*,'(i0)',advance='no') x-k+i
     write(*,'(a)',advance='no') ' '
  enddo
  write(*,'(a)') ' '


end program o



