local k, x = string.match(io.read(), "(%d+) (%d+)")
k, x = tonumber(k), tonumber(x)
local min = math.max(x - (k - 1), -1000000)
local max = math.min(x + (k - 1), 1000000)

local result = {}
for i = min, max, 1 do
  table.insert(result, tostring(i))
end

print(table.concat(result, " "));