line = readline
k = line.chomp.split(" ")[0].to_i
x = line.chomp.split(" ")[1].to_i

min = x - k + 1
max = x + k - 1

putarr = [*min..max]
putarrsub = []
putarr.each do |a|
  if a >= -1000000 && a <= 1000000
    putarrsub << a
  end
end

putarrsub.each_with_index do |b,i|
  if i == putarrsub.length - 1
    print "#{b}"
  else
    print "#{b} "
  end
end