l,r,d;main(float w){scanf("%d%d%d%f",&l,&r,&d,&w);d=!printf("%f",d/(l+r)*w);}