k, x = gets.split.map(&:to_i)

if k == 1
  puts x
  exit
end

ans = []
diff = k - 1
diff.times do |i|
  ans << x - (diff - i)
end

ans << x

diff.times do |i|
  i += 1
  ans << x + i
end

puts ans.join(' ')
