#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d;
  double ans;
  cin >> a >> b >> c >> d;
  a = b - a;
  c = c + d;
  ans = double(a) / double(c);
  printf("%lf\n", ans);
  return 0;
}
