t = $stdin.gets.chop!
t = t.split

for e in 0...t.length
    t[e] = t[e].to_i
end

array = []

if t[1] - t[0] + 1 < -1000000 then
    for e in -1000000...-1000000 + t[0]
        array.push(e)
    end
elsif  t[1] + t[0] > 1000000
    for e in 1000000 - t[0] + 1..1000000
        array.push(e)
    end
else
    for e in t[1] - t[0] + 1..t[1] + t[0] - 1
        array.push(e)
    end
end

print array.join(" ")
