#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.precision(20); cout << fixed; double v1, v2, d, w; cin >> v1 >> v2 >> d >> w; cout << w * d / (v1 + v2) << endl; return 0; }