#include using namespace std; typedef long long ll; int main() { cin.tie(0); ios::sync_with_stdio(false); double v1, v2, d, w; cin >> v1 >> v2 >> d >> w; double t = d / (v1 + v2); cout << fixed << setprecision(15) << t * w << endl; }