# frozen_string_literal: true

k, x = readline.split(' ').map(&:to_i)

if (x - (k - 1)) < -1000000
  puts Array(-1000000...(x + k)).join(' ')
elsif (x + (k - 1)) > 1000000
  puts Array((x - (k - 1))...1000001).join(' ')
else
  puts Array((x - (k - 1))...(x + k)).join(' ')
end
