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