import Text.Printf m@main=getLine>>=f.map read.words>>m f[a,b]=printf"%.2f\n"$a*b/(a+b::Float)