#include #include using namespace std; int main() { double vl, vr, d, w; cin >> vl >> vr >> d >> w; cout << fixed << setprecision(7) << (d * w/(vl + vr)) << endl; }