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