#include using ll = long long; using ld = long double; template constexpr T MOD() { return 1000000007; } template constexpr T INF() { return std::numeric_limits::max() / 16; } int main() { ld P, Q; std::cin >> P >> Q; std::cout << std::fixed << std::setprecision(20); if (P != 100 and P != 0 and Q != 100 and Q != 0) { P = 100 / P - 1, Q = 100 / Q - 1; std::cout << 100 / (1 + P * Q) << std::endl; } else if (P == 100 or Q == 100) { std::cout << 100 << std::endl; } else if (P == 0 or Q == 0) { std::cout << 0 << std::endl; } else { } return 0; }