v1, v2 = map(int,input().split()) d = int(input()) w = int(input()) T = d / (v1 + v2) print(w*T)