What is the length of the hypotenuse of a right triangle if the two other sides are of lengths 2 and 7?