i=input l,r=map(int,i.split()) d=int(input()) b=int(input()) print(d/(l+r)*b)