Find the sum of two proper fractions and . Present the result as an irreducible fraction. If the result is an integer, then print only this integer.
One line contains four positive integers — the numerators and denominators of the fractions. All numbers do not exceed .
Print the numerator and denominator of the resulting fraction, or an integer if the result is a whole number.