k, x =  STDIN.gets.chomp.split.map! do |i| i.to_i end

max = x + k - 1
min = x - k + 1

min = (min < -1000000 ? -1000000 : min)
max = (max > 1000000 ? 1000000 : max)

str = ""
for i in min..max
  str += "#{i} "
end
puts str.chomp