"use strict";

const input = require("fs").readFileSync("/dev/stdin", "utf8");

const inputs = input.split(" ");
const K = Number(inputs[0]);
const X = Number(inputs[1]);

const main = (K, X) => {
    const min = -1000000;
    const max = 1000000;

    // X - K と X + K の値を調べる
    // もし、min max を超えていたらそこでCAP
    // 間にある個数を調べて、出力する
    let right = X + K - 1;
    let left  = X - K + 1;
    if (max < right) {
        right = max;
    }
    if (min > left) {
        left = min;
    }

    let arr = Array.apply(null, Array(Math.abs(right -left) + 1)).map((v, i) => {return left + i});


    return arr.join(" ");
};

console.log(main(K, X));