#include using namespace std; typedef long long ll; const int MOD = 1000000007; #define REP(i,n) for((i)=0;(i)<(int)(n);(i)++) int main(){ int x, y, z, w; cin >> x >> y >> z >> w; double ans = y - 1.0 * x * (y - w) / (x + z); printf("%.10f\n", ans); return 0; }