K, X = gets.split.map(&:to_i)

min = X - (K - 1)
max = X + (K + 1)

if min <= -1000000
  (-1000000...-1000000 + K).each(&:puts)
elsif max >= 1000000
  (1000000...1000000 + K).each(&:puts)
else
  (min..max).each(&:puts)
end