const input = require("fs").readFileSync("/dev/stdin", "utf8");
const nums = input.split(' ').map(n => parseInt(n));
const K = nums[0];
const X = nums[1];

const ans = [...Array(K * 2 - 1).keys()].map(n => n + K - X + 1).filter(m => -1000000 <= m && m <= 1000000).join(' ')

console.log(ans);