The base of a triangular prism has an area of 18 square inches. If the height of the prism is 9.5 inches, what is the volume of the prism?