import numpy as np



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



upper = x + k - 1

lower = x - k + 1 



if lower == upper:

  print(lower)

else:

  for i in range(lower, upper + 1):

    print(i, end = " ")

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



lower = x - k + 1

upper = x + k - 1

for i in range(lower, upper + 1):

  print(i, end = " ")

import numpy as np

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

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

-import numpy as np - +lower = x - k + 1 -lower = x - k + 1 -if lower == upper: -    print(lower) -else: -    for i in range(lower, upper + 1): -        print(i, end=" ") +for i in range(lower, upper + 1): +    print(i, end=" ")