function Main(input) {	input = input.split("\n");
	tmp = input[0].split(" ");
	var max = parseInt(tmp[1], 10)+parseInt(tmp[0], 10);
	var min = parseInt(tmp[1], 10)-parseInt(tmp[0], 10)+1;
    var answer = min;
    for(var i=min+1;i<max;i++){
      answer = answer+" "+String(i);
    };
    console.log(answer);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));