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

result = Array.new

max = 1000000
min = -1000000

if max >= x+k
  k.times do |i|
    result << x + i
  end
end

if min <= x-k
  k.times do |i|
    result << x - i
  end
end

result.uniq.sort.each do |a|
  print a
  if result.count/2 != a + 1
    print " "
  end
end
