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