#include <iostream>
#include <iomanip>
using namespace std;

int main(){
	double vl, vr, d, w;
	cin >> vl >> vr >> d >> w;
	cout << fixed << setprecision(10) << w * (d / (vl + vr)) << endl;
}