#include <bits/stdc++.h>
using namespace std;
int main() {
  long double d, l, v1, v2;
  cin >> d >> l >> v1 >> v2;
  long double ans = (l - d) / (v1 + v2);
  cout << setprecision(9) << fixed << ans;
  cout << "\n";
}
