P, Q = gets.split.map(&:to_f) a = P*Q b = (100-P)*(100-Q) puts sprintf("%.20f", 100 * a / (a+b))