a,b = gets.chomp.split(" ").map{|u|u.to_i} d = gets.chomp.to_i w = gets.chomp.to_i s = d / (a+b).to_f p w*s