In right triangle ABC, angle C = 90 degrees. Median AM has a length 19 of and median BN has a length of 18. What is the length of the hypotenuse of the triangle?