Triangle $\triangle ABC$ has $AB= 3$, $BC = 4$, and $AC = 5$. Let $M$ and $N$ be the midpoints of $AC$ and $BC$, respectively. If line $AN$ intersects the circumcircle of triangle $\triangle BMC$ at points $X$ and $Y$, then $XY^2 = \frac{m}{n}$ for some relatively prime positive integers $m,n$. Find $m+n$.

Let's think step by step and output the final answer within \boxed{}.
user