The base of a triangular prism is a right triangle with a base of 5 inches, a height of 12 inches, and a third side length of 13 inches. The height of the prism is 21 inches. Find the surface area of the prism.