#include int main(void) { int i,vl,vr,d,w; double ans; scanf("%d%d%d%d",&vl,&vr,&d,&w); printf("%lf\n",(double)w*d/(vl+vr)); return 0; }