Input for Problem 2 (2007) (Converting Egyptian Fractions to Fractions) --------------------------- 6 2 2 10 1 35 4 98 1 2 12 3 2 4 5 5 1 4 7 2 3 3 3 3 3 correct output: -------------- 1/2 + 1/10 = 3/5 1/35 = 1/35 1/98 + 1/1 + 1/2 + 1/12 = 148/93 1/2 + 1/4 + 1/5 = 19/20 1/1 + 1/4 + 1/7 + 1/2 + 1/3 = 187/84 1/3 + 1/3 + 1/3 = 1/1 (note that this input is illegal because the unit fractions are not distinct)