#include<bits/stdc++.h>
using namespace std;



int main()
{

int k,x;
cin>>k>>x;
if(k==1) {cout<<x<<endl;  return 0;}
for(int i=k-1;i>=1;i--)
   {
      //  cout<<i<<endl;
   cout<<x-i<<" ";
   }
    cout<<x<<" ";
    for(int i=1;i<k-1;i++)
        cout<<x+i<<" ";
    cout<<x+k-1<<endl;

}
