k, x = gets.chomp.split.map(&:to_i)
ary = []

mae_count = k - 1
ushiro_count = k - 1

(k - 1).times do
  ary.unshift(x - mae_count)

  mae_count -= 1
end

ary.push(x)

(k - 1).times do
  ary.push(x + ushiro_count)

  ushiro_count -= 1
end

puts ary.sort.join(' ')