#include int main() { double vl, vr, d, w; scanf("%lf%lf%lf%lf", &vl, &vr, &d, &w); printf("%.20lf\n", w * d / (vl + vr)); return 0; }