#include using namespace std; int main() { int vl, vr, d, w; cin >> vl >> vr >> d >> w; printf("%.20f\n", 1.0 * d / (vl + vr) * w); }