Let be the center of the sphere. Choosing point , the radius of the sphere is

.

Then the equation of the sphere is

.

Plug in points and to get the system of equations

.

Then just solve for and put the values into the equation of the sphere to get your answer.