k, x = gets.chomp.split(" ").map(&:to_i)
if k == 1
  p x
else
  ary = []
  k.times do |m|
    k.times do |n|
      ary.push((x-m)+n)
    end
  end
  
  ary = ary.uniq.sort
  print "#{ary[0]}"
  (1..ary.size-1).each do |i|
    print " #{ary[i]}"
  end  
end