#include int main() { double p,q; std::cin >> p >> q; p/=100; q/=100; std::cout << p*q/(p*q+(1-p)*(1-q))*100 << std::endl; }