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