#include using namespace std; double k1,k2,t1,t2,t; int main() { cin>>t1>>k1>>t2>>k2; t1/=k1; t2/=k2; t=(t1*t2)/(t1+t2); cout<