A triangular pyramid has the same base and height as a triangular prism. The volume of the pyramid is 26 cubic centimeters. What is the volume of the triangular prism?