# coding: utf-8 # Here your code ! v_l,v_r=[int(i) for i in input().split()] d = int(input()) w = int(input()) print(float(w * d / (v_r + v_l)))