In right triangle $ABC,$ $\angle C = 90^\circ.$ Median $\overline{AM}$ has a length of $19,$ and median $\overline{BN}$ has a length of $18.$ What is the length of the hypotenuse of the triangle?

By Pythgagoras, the hypotenuse is 2*sqrt(95).