Complex numbers: multiplication and division#9532

Complex numbers: multiplication and division

1 second
128 megabytes
Very easy

Two complex numbers are given. Find their product or quotient.

Input

Each line contains an example of multiplication or division of complex numbers. The complex number is given in the format a + bi or a - bi, where is integer, is non-negative integer. The real and imaginary part of each complex number is no more than 10^9 by absolute value.

Output

For each input example, print in a separate line the answer. The real and imaginary part of the complex number should be presented with two decimal places.

Examples

Example 1

Loading
Loading