ss = input().split() a = int(ss[0]) b = int(ss[1]) d = int(input()) w = int(input()) f = (d / (a + b)) * w print(f)