The equation of a circle in the coordinate plane can be written as Ax2+2y2+Bx+Cy=50. The center of the circle is at (−5,2). Let r be the radius of the circle. Find A+B+C+r.