p, q = map(int, input().split()) p /= 100 q /= 100 x = p * q y = (1 - p) * (1 - q) if x + y == 0: print(100) else: print(x / (x + y) * 100)