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