Principle: These N people are people who take part in the cold current competition and the hot dish competition at the same time, so 9+6+7 will add those who take part in the cold current competition and the hot dish competition to 6 people and 9 people respectively, so it is necessary to subtract N once. When calculating this situation in the future, you can directly add up all the people and subtract the total number!