Fractions: multiplication and division#9426

Fractions: multiplication and division

1 second
128 megabytes
Very easy

Two fractions are given. Find their product or quotient.

Input

Each line contains an example of multiplication or division of fractions. The numerator and denominator of each fraction are positive integers, not greater than 10^9.

Output

For each input example, print in a separate line the answer in the form of an irreducible fraction.

Examples

Example 1

Loading
Loading