k,x = gets.split.map(&:to_i)
arr = [x]
counter_plus = 0
counter_minus = 0

if k == 1
  puts x
else
  (k-1).times do
    counter_plus += 1
    counter_minus -=  1
    arr << (x+counter_plus)
    arr << (x+counter_minus)
end

arr.sort.each{|v|
p v}
end
