h,a,d = gets.split.map(&:to_f) ans=(h/a).ceil 30000.times{|i| break if i*a>h e = i + ((h-i*a) / d).ceil * 1.5 ans = [ans, e].min } p ans