input = gets.chomp.split("")

k = input[0].to_i
x = input[1].to_i

min = x - (k-1)
max = x + (k+1)
out = ""

while min <= max do
    out = out + min.to_s + " "
    min = min + 1
end

out.slice!(out.length()-1)
puts out