l,r,d;main(w){scanf("%d%d%d%d",&l,&r,&d,&w);printf("%.7lf",(double)d/(l+r)*w);return 0;}