from time import time vl,vr=map(int,input().split()) v=vl+vr d=int(input()) w=int(input()) wl=w+vl;wr=w+vr BEGIN=time() TIME_LIMIT=1.900 T=0 while time()-BEGIN<=TIME_LIMIT: T+=(d-T*v)/wr T+=(d-T*v)/wl print(T*w)