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