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