P, Q = gets.split.map(&:to_i) puts "%.12f" % Rational(P * Q * 100, (P * Q) + (100 - P) * (100 - Q))