L,R=map(float,input().split())
d=float(input())
w=float(input())
print(w*d/(L+R))