k,x = gets.split.map(&:to_i)

max = 1000000
min = -1000000 

num = Array.new

k.times{ |i|
    if ( min <= x-k+i+1 ) then num.push(x-k+i+1) end

}

(k-1).times{ |i|
    if ( max >  x+i+1 ) then num.push(x+i+1) end
}

num.each{ |i|
    print(i)
    if i != num[-1] then print(" ") end
}
print("\n")