p,q=gets.split.map(&:to_f).map{|e|e/100} puts (p*q)/(p*q+(1-p)*(1-q))*100