#include using namespace std; using ll = long long; constexpr char newl = '\n'; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); long double p, q; cin >> p >> q; long double hoge = (100 - p) * (100 - q) + p * q; cout << fixed << setprecision(15) << (100 * p * q) / hoge << newl; return 0; }