The lengths of the sides of a right-angled triangle are all integers.
The sum of the lengths of the hypotenuse and one of the other sides is 49.
What are the three possible lengths for the third side?
This problem is adapted from the World Mathematics Championships