In right triangle \(ABC, \) \(\angle C = 90^\circ.\) Median \(\overline{AM}\) has a length of \(19\), and median \(\overline{BN}\) has a length of \(13\). What is the length of the hypotenuse of the triangle?
Note: A median of a triangle is a line segment connecting a vertex of a triangle to the midpoint of the opposite side of the triangle.