#include <bits/stdc++.h>
using namespace std;
int main() {
  int d, l, u, v;
  scanf("%d", &d);
  scanf("%d", &l);
  scanf("%d", &u);
  scanf("%d", &v);
  double z = u + v;
  printf("%.8lf", (l - d) / z);
}
