k,x = gets.chomp.split(" ").map{|i|i = i.to_i}

((k*2)-1).times do|i|
  n = (x-(k-1)) + i
  if(n >= -1000000 && n <= 1000000) then
    if(n == ( (x-(k-1)) + ((k*2)-2) ) || n == 1000000 )
      puts(n);
    else
      printf("%d ",n);
    end
  end

end

