function main(input) {
  var splited = input.split(" ")
  var num = Number(splited[0])
  var x = Number(splited[1])
  if (num === 1) {
	return console.log(x)
  }
  var min = (x - (num - 1))
  var max = (x + (num - 1))
  var size = num + (num - 1)
  var availableList = [...Array(size).keys()].map(i => i + min)
  console.log(availableList.join(' '))
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));