const range = (start, end) => {
  const list = [];
  for (let i = start; i <= end; i++ ) {
    list.push(i);
  }
  return list;
}


const main = (input) => {
  const args = input.split(' ');
  const K = parseInt(args[0], 10);
  const X = parseInt(args[1], 10);

  let min = X-K+1
  if(min<-1000000) {
    min = -1000000
  }
  const max = X+K-1
  if(max>10000000) {
    max = 1000000
  }
  const result = range(min,max)
  result.forEach((num) => {console.log(num)})

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