The hypotenuse of an isosceles right triangle measures 122 units. What is the length, in units, of one of its legs?
6
12
122
24