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