A building contractor is to dig a foundation 36 feet long, 12 feet wide, and 9 feet deep. The contractor pays $10 per load for trucks to remove the dirt. Each truck holds 9 cubic yards. What is the cost to the contractor to have all the dirt hauled away?