#include using namespace std; int main(){ double v1, v2, d, w; cin >> v1 >> v2 >> d >> w; printf("%.15lf\n", w * d / (v1 + v2)); }