An isosceles right triangle has a hypotenuse of 12. Between which two whole numbers are the lengths of the legs of the triangles?