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 the hypotenuse.
12 & 35
28 & 45
20 & 29