'use strict'

const main = input => {
	const args = input.split('\n').map(arg => arg.split(' '))
	const K = parseInt(args[0][0], 10)
	const X = parseInt(args[0][1], 10)
	const ans = []

	for (let i = -1000000; i <= 10000000; i++) {
		if ((X - (K - 1) <= i) && (i <= X + (K - 1))) ans.push(i)
	}

	console.log(ans.join(' '))
}

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