# 列車が衝突するまでの時間*ベー君のスピードが答えでいいのか? vl, vr = map(int, input().split()) d = int(input()) w = int(input()) t = d/(vl+vr) ans = t*w print(ans)