"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 = "";

    var min = parseInt(-1000000);
    var max = parseInt(1000000);

    if(kazua == 1){
        kotae = kazub;
    }else{

    for(var i = 0; i < zenbu+1 ; i++){
        var kazu = parseInt(kazub - tasu + i);
        if(kazu >= min  && kazu <= max){
            if(kotae == ""){
                kotae = kazu;
            }else{
            kotae = kotae + " " + kazu;
            }
        }
    }
    }
    console.log(kotae);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
