#include using namespace std; int main() { double vl, vr, d, w; cin >> vl >> vr >> d >> w; printf("%.7lf\n", d / (vl + vr) * w); return 0; }