u,v=gets.split.map(&:to_i) d=gets.to_i w=gets.to_i t=d.to_f/(u+v) puts t*w