Formulate a linear programming problem that can be used to solve the following question. An airline has three types of airplanes and has contracted with a tour group to provide transportation for a minimum of 84 first-class, 54 tourist, and 118 economy-class passengers. The first plane costs $3500 for the trip and can accommodate 44 first-class, 18 tourist, and 30 economy-class passengers; the second plane costs $5000 for the trip and can accommodate 10 first-class, 12 tourist, and 44 economy-class passengers; the third plane costs $5800 for the trip and can accommodate 18 first-class, 34 tourist, and 16 economy-class passengers. How many of each type of airplane should be used to minimize the operating cost?