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

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

    print(i, end=' ')

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

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

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

K, X = list(map(int, input().split()))
for i in range(X - (K - 1), X + K):
    print(i)

-K, X = map(int, input().split()) +K, X = list(map(int, input().split())) -    print(i, end=" ") +    print(i)