The given lengths are two sides of a right triangle. All three side lengths of the triangle are integers and together form a pythagorean triple. Find the length of the third side, and tell whether it is a leg or a hypotenuse.
24, 51
A. 21 leg
B. 45 leg
C. 48 leg
D. 56 hypotenuse