p, q = map(float, input().split()) p /= 100 q /= 100 x = p * q y = (1 - p) * (1 - q) print(x / (x + y) * 100)