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