a,b,c,d,e,f=gets.split.map(&:to_f) x = -c / a / 2 y = -d / a / 2 r2 = x**2 + y**2 + (f - e) / a #warn [x,y,r2].inspect puts r2 ** 0.5