"use strict";

const main = args => {

    const input = args.trim().split(" ");
    const k = parseInt(input[0]);
    const x = parseInt(input[1]);

    const left = Math.max(-1000000, x - k + 1);
    const right = Math.min(1000000, x + k - 1);

    for (let i = left; i <= right; i++) {
        if (i > left) {
            process.stdout.write(" ");
        }
        process.stdout.write(i.toString());
    }
    process.stdout.write("\n");
}

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