#include int main(){ double v1,v2,d,w; double t; scanf("%lf%lf%lf%lf",&v1,&v2,&d,&w); t=d/(v1+v2); printf("%lf\n",w*t); return 0; }