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