'use strict';
function main(input) {
  input = input.split(" ");
  const K = Number(input[0]);
  const X = Number(input[1]);
  let rtn = [];
  for(let i=0; i<K; i++){
  	rtn.push(X + i);
  }
  for(let i=1; i<K; i++){
  	rtn.unshift(X - i);
  }
  console.log(rtn.join(" "));

}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
