l,r = gets.split.map(&:to_f) d,w = 2.times.map{ gets.to_f } t = d / (l + r) puts w * t