k,x=map(int,input().split())

for i in range(x-(k-1),x+k):

    print(i,end=" ")

k,x=map(int,input().split())

for i in range(x-k+1,x+k):

    print(i,end=" ")

k, x = map(int, input().split())
for i in range(x - (k - 1), x + k):
    print(i, end=" ")

k, x = map(int, input().split())
for i in range(x - k + 1, x + k):
    print(i, end=" ")

-for i in range(x - (k - 1), x + k): +for i in range(x - k + 1, x + k):