"use strict"
function main(arg) {
    //最大は1000000
    var kazua = parseInt(arg.trim().split(" ")[0]);
    var kazub = parseInt(arg.trim().split(" ")[1]);

    var tasu = kazua - 1;
    var hiku = -tasu;

    var zenbu = tasu - hiku;
    var kotae = "";


    for(var i = 0; i < zenbu+1 ; i++){
        var kazu = parseInt(kazub - tasu + i);
        if(kotae == ""){
            kotae = kazu;
        }else{
        kotae = kotae + " " + kazu;
        }
    }
    if(kotae == ""){

    }else {
    console.log(kotae);
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
