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

t1=X-K+1

t2=X+K

for x in range(t1,t2):

  print(x,end="")

  if x != t2-1:

    print(" ",end="")

  else:

    print("")

import sys

pin=sys.stdin.readline

pout=sys.stdout.write



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

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

  pout(f"{i} ")

print()
K, X = map(int, input().split())
t1 = X - K + 1
t2 = X + K
for x in range(t1, t2):
    print(x, end="")
    if x != t2 - 1:
        print(" ", end="")
    else:
        print("")

import sys

pin = sys.stdin.readline
pout = sys.stdout.write
K, X = list(map(int, pin().split()))
for i in range(X - K + 1, X + K):
    pout(f"{i} ")
print()

-K, X = map(int, input().split()) -t1 = X - K + 1 -t2 = X + K -for x in range(t1, t2): -    print(x, end="") -    if x != t2 - 1: -        print(" ", end="") -    else: -        print("") +import sys + +pin = sys.stdin.readline +pout = sys.stdout.write +K, X = list(map(int, pin().split())) +for i in range(X - K + 1, X + K): +    pout(f"{i} ") +print()