Dima and Zhenya, two brothers - twins. Not only do they look at each other like two drops of water, so they are still sitting in the classroom at the same desk. And one of them always sits on the left, and the second - on the right. Each claims that he - Dima. Ivan Ivanovich of experience knows that the young man tells a lie to the right once out of m, a twin to the left - once out of n. But Ivan Ivanovitch interested in something quite different: what is the probability that Jack is sitting on the left?
Since Ivan Ivanovich - teacher work, it is only natural that he asks for your help in solving this complex problem for him.
In a single line two natural numbers n and m, each of which is greater than one but less than 100.
Bring the required probability as a regular irreducible fraction in the form a/b, where a and b – non-negative integers.