line = gets.split(" ").map(&:to_i)
K = line[0]
X = line[1]

nums = []

i = 0
while i <= K-1
  a = X + i
  i += 1
  nums.push(a)
end

j = 0
while j <= K-2 
  b = X - j - 1
  j += 1
  nums.push(b)
end

nums.sort.each do |n|
  print "#{n} "
end