v1, v2 = map(int, raw_input().split()) d = float(raw_input()) w = int(raw_input()) print d/(v1+v2)*w