A lioness is trying to hunt down a buffalo. The lioness spots a buffalo $a$ metres away. As soon as she sees the buffalo, the buffalo spots her as well, and starts running. The lioness immediately starts chasing after her. If the lioness is $b$ times faster than the buffalo, how far will she have to run before she can capture the buffalo?

Input

The input consists of two integer numbers, denoting the values of $a$ and $b$ respectively, as described above.

Constraints:

$2 \leq a,b \leq 10^4$

Output

It can be proven that the distance which the lioness will have to run is a rational number, that is it can be written in the form of a fraction $p/q$. Output two space-separated integers $p$ and $q$, so that $p/q$ is the answer to this problem. You must output the fraction in its fully reduced form, (e.g. if the answer to the problem is $8/4$, you must output $2$ and $1$ since $2/1$ is the reduced form of $8/4$).