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