printf"%.2f\n",$_.scan(/\d+/).map(&:to_f).inject{|x,y|x*y/(x+y)} while gets