fn optimize_multiplicative(
    operations: impl Iterator<Item = Fraction>
) -> (Fraction, u32)