import numpy as np



a,b = list(map(int, input().split()))



ans = np.array(list(range(b - (a - 1), b + (a))))



print((' '.join(map(str, ans))))
a,b = map(int, input().split())



for i in range(b - (a-1), b+a):

  print(i, end=" ")

import numpy as np

a, b = list(map(int, input().split()))
ans = np.array(list(range(b - (a - 1), b + (a))))
print((" ".join(map(str, ans))))

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

-import numpy as np - -a, b = list(map(int, input().split())) -ans = np.array(list(range(b - (a - 1), b + (a)))) -print((" ".join(map(str, ans)))) +a, b = map(int, input().split()) +for i in range(b - (a - 1), b + a): +    print(i, end=" ")