A triangular pyramid has a height of 9 yards and a base with an area of 24 square yards. What is the volume of the pyramid?