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