The cast of a play had a party. There were 20 cookies and 40 carrot sticks as a refreshment. Each cast member ate the same number of cookies and carrot sticks. Nothing was left over. How many cast members were at the party.