#yuki_450 vl,vr=map(int,raw_input().split()) d=int(raw_input()) w=int(raw_input()) res=1.0*w*d/(vl+vr) print "%.7f" % res