import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines vl,vr,d,w = map(int,read().split()) t = d / (vl + vr) answer = w * t print(answer)