a,b=gets.chomp.split.map(&:to_f) c=gets.chomp.to_f d=gets.chomp.to_f puts d*c/(a+b)