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