#include <bits/stdc++.h>
using namespace std;
int main() {
  float d, l, v1, v2;
  float time;
  cin >> d >> l >> v1 >> v2;
  time = (l - d) / (v1 + v2);
  cout << setprecision(20) << time;
  return 0;
}
