def bb
    k,x = gets.chomp.split(/\s/).map{|x| x.to_i}

    if k == 1
        puts x
        exit
    end

    pos = [x]
    for i in 1..(k-1)
        pos.push(-i+x)
        pos.push(i+x)
    end

    puts pos.sort.join(' ')
end

bb
