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