#include <bits/stdc++.h>
using namespace std;
int main() {
  double c, n, a, b;
  cin >> c >> n >> a >> b;
  double x = (n / (a + b)) - (c / (a + b));
  cout << fixed << setprecision(20) << x << endl;
  return 0;
}
