Ahmed is taking orders for lunch. A slice of pizza cost $2 and a chicken sandwich costs $3. He collects $24 for the group of 10 people.How many people ordered a chicken sandwich?