K, X = gets.split(' ').map(&:to_i)
row = X - (K - 1)
high = X + (K - 1)
r = []
if row < -1000000
	row = -1000000
elsif high > 1000000
	high = 1000000
end
for i in row..high
	r << i
end
for s in r
	print "#{s} "
end