#python competitive programming # yukicoder problems P,Q=map(float,input().split()) print(100*P*Q/((100-P)*(100-Q)+P*Q))