import java.io.*; import java.util.Scanner; public class Main_yukicoder787 { private static Scanner sc; private static Printer pr; private static void solve() { double p = sc.nextDouble(); double q = sc.nextDouble(); double u = p * q; double nu = (100 - p) * (100 - q); if (p == 0) { pr.println(0); } else { pr.printf("%.7f%n", u / (nu + u) * 100); } } // --------------------------------------------------- public static void main(String[] args) { sc = new Scanner(System.in); pr = new Printer(System.out); solve(); pr.close(); sc.close(); } static class Printer extends PrintWriter { Printer(OutputStream out) { super(out); } } }