Add fractions with different divisors, second version.