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