P, Q = map(float, input().split()) a = P * Q b = (100 - P) * (100 - Q) print(a / (a + b) * 100)