Ana recycles a cookie tin use for storing school supplies. The tin is a rectangular prism with a length of 14 centimeters, a width of 10 centimeters,
and a height of 4 centimeters.
What is the length of the longest pencil that can fit inside the tin?