p,q = map(float,input().split()) p,q = p/100, q/100 r = p * q s = (1 - p) * (1 - q) print('{:.20f}'.format(100 * r / (r + s)))