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

int main() {
    int a,b,i,n;
    cin>>a>>b;
    
    n=((a*2)-1)/2;
    for(i=0;i<n;i++)
    {
        a--;
        cout<<b-a<<" ";
    }
    cout<<b<<" ";
    a=0;
    for(i=n+1;i<2*n+1;i++)
    {
        a++;
        cout<<b+a<<" ";
    }
    return 0;
}

#include <bits/stdc++.h>

using namespace std;

#define FOR(i, m, n) for (int i = m; i < n; ++i)
#define FORD(i, m, n) for (int i = m; i >= n; --i)
#define REP(i, n) for (int i = 0; i < n; ++i)
#define REP1(i, n) for (int i = 0; i <= n; ++i)
#define REPR(i, n) for (int i = n; i >= 0; --i)
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))

using ll = long long;
using ull = unsigned long long;
using ld = long double;

int main()
{
	cin.tie(0);
	ios::sync_with_stdio(false);

	int k,x;
	cin>>k>>x;
	FOR(i,x-k+1,x+k){
		printf("%d ",i);
	}

	return 0;
}