"use strict";
const Main = (input) =>{
   let xs = input.trim().split(' ').map(v=>parseInt(v,10));
   let ans = [];
   for(let i = 1; i < xs[0]; i++){
   ans.push(xs[1] - i);
   }
   ans.push(xs[1]);  
   for(let i = 1; i < xs[0]; i++){
   ans.push(xs[1] + i);
   }
   const sort = (a,b) =>{
   return a - b;
   }
   ans.sort(sort);
   let ans1 = ans.join(' ');
   console.log(ans1);
}
Main(require('fs').readFileSync('/dev/stdin','utf8'));