H, A, D = gets.split.take(3).map(&:to_i) p (0..H.fdiv(A).ceil).map{|i| rest = H - i * A i + (rest.fdiv(D)).ceil*1.5 }.min