Va,Vb=map(int,input().split()) D=int(input()) W=int(input()) print(D/(Va+Vb)*W)