p = int(input()) q = int(input()) print((p*q)*100/((100-p)*(100-q)+(p*q)))