p, q = io.read("*n", "*n") p, q = p / 100, q / 100 print(string.format("%.8f", 100 * p * q / (p * q + (1-p) * (1-q))))