foreach {a b c} [read stdin] {puts [expr round(sqrt(4.*$a*$a*$b*$b-pow($a*$a+$b*$b-$c*$c,2))/4)]}