Two fractions are given. Find their sum or difference.
Each line contains an example of addition or subtraction of fractions. The numerator and denominator of each fraction is a positive integer, not greater than .
For each input example, print in a separate line the answer in the form of an irreducible fraction. If the answer is negative, a minus sign in front of the fraction should be printed.