The hypotenuse of an isosceles right triangle has endpoints (4,3) and (9,8). What is the length of one of the legs of the triangles?