k, x = gets().chomp.split("\s").map{|x| x.to_i}

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

min = -1000000 if min < -1000000
max = 1000000 if max > 1000000

list = []
(min..max).each do |x|
  list.push(x)
end

puts list.join("\s")