#include using namespace std; using R=long double; int main(void){ R vl,vr,d,w; cin >> vl >> vr >> d >> w; cout.precision(20); cout << fixed << w*d/(vl+vr) << endl; return 0; }