#include using namespace std; int main(){ double p,q;cin>>p>>q; double ans=p*q/(p*q+(100-p)*(100-q)); cout<