k, x = gets.chomp.split(' ').map(&:to_i)
if x - k + 1 < -1000000
    k.times do |i|
        print i-1000000
        print" "
    end
else
    (x-k+1).upto(x+k-1) do |i|
        if i > 1000000
            break
        else
            print i
            print" "
        end
    end
end