A triangular pyramid base with an area of 8 square inches. If the height of the pyramid is 24 inches, what is the volume of the pyramid in cubic inches?