K,X = map(int,input().split())

for i in range(X -K + 1,X + K):

        print(i, end = " ")

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



ans = 0

for i in range(k*2-1):

    ans = x-(k-1)+i

    print(ans,' ',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())
ans = 0
for i in range(k * 2 - 1):
    ans = x - (k - 1) + i
    print(ans, " ", 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()) +ans = 0 +for i in range(k * 2 - 1): +    ans = x - (k - 1) + i +    print(ans, " ", end="")