AIME II 2026 (Problem 12)

Consider a tetrahedron with two isosceles triangle faces with side lengths 510,510,105\sqrt{10},5\sqrt{10},10 and two isosceles triangle faces with side lengths 510,510,185\sqrt{10},5\sqrt{10},18. The four vertices of the tetrahedron lie on a sphere with center SS, and the four faces of the tetrahedron are tangent to a sphere with center RR. The distance RSRS can be written as mn\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+nm+n.