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