Eleni bought 3 packs of crayons. Each pack contains the same number of crayons. She then found 3 crayons in her desk. Eleni now has 24 crayons. How many crayons were in each pack she bought? Explain how you solved the problem.