K, X = (int(x) for x in input().split())
print(' '.join(map(str, list(range(X - K + 1, X + K)))))

1855ffa293071e6b20264fae508999e782c91afd
<mask token>

<mask token>
print(' '.join(map(str, list(range(X - K + 1, X + K)))))

K, X = (int(x) for x in input().split())
print(' '.join(map(str, list(range(X - K + 1, X + K)))))
