vl,vr = map(int,input().split()) d = int(input()) w = int(input()) s = d/(vl+vr) print(s*w)