a,b=geta.chomp.split(" ").map{|u|u.to_i} p a/(b+1)+1