#450 shatle run v1,v2=(int(i) for i in input().split()) d=int(input()) w=int(input()) v=v1+v2 w*=d w/=v print(w)