Two fractions are given. Find their product or quotient.
Each line contains an example of multiplication or division of fractions. The numerator and denominator of each fraction is a positive integer, not greater than 109.
For each input example, print in a separate line the answer in the form of an irreducible fraction.