Inside a right circular cone with base radius 5 and height 12 are three congruent spheres each with radius r. Each sphere is tangent to the other two spheres and also tangent to the base and side of the cone. What is r?