A total of 323 was collected from 40 people to cover the exact cost of their dinners. Some ordered steak at 8.50 per person, others ordered chicken at 7.50 per person. How many people ordered chicken?