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