VL, VR = gets.split.map(&:to_i) D = gets.to_i W = gets.to_i puts W * Rational(D, VL + VR).to_f.round(12)