vl, vw = map(int, input().split()) d = int(input()) w = int(input()) ans = d/(vl+vw)*w print(f"{ans:.10f}")