const Main = input => {
  input = input.split("\n")[0].split(' ').map(v => parseInt(v, 10))

  const rec = (i, memo) => {
    if (i === 0) return memo
    memo.push(input[1] - i, input[1] + i)
    return rec(i - 1, memo)
  }

  console.log(rec(input[0] - 1, [input[1]]).sort((a, b) => a > b).join(' '))
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"))