Sum or Product of Rational Numbers