Question 15
Let $\omega_1$ and $\omega_2$ denote the circles $x^2 + y^2 + 10x - 24y - 87 = 0$ and $x^2 + y^2 - 10x - 24y + 153 = 0,$ respectively. Let $m$ be the smallest positive value of $a$ for which the line $y = ax$ contains the center of a circle that is internally tangent to $\omega_1$ and externally tangent to $\omega_2.$ Given that $m^2 = \frac{p}{q},$ where $p$ and $q$ are relatively prime positive integers, find $p + q.$