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