local K, X = io.read("n", "n")
local left = math.max(-1000000, X-K+1)
local right = math.min(1000000, X+K-1)
local ans = {}
for i=left,right do
    table.insert(ans, i)
end
print(table.concat(ans, ' '))