Layla baked some cookies and muffins. The number of cookies she baked was $$24$$ more than the number of muffins. After selling $\frac{3}{4}$ of her muffins and $$\frac{5}{8}$$ of her cookies, she had $$74$$ cookies and muffins left in total. How many cookies did she bake at first?~\uline{~~~~~~~~~~}~ 
Overseas Competition->Knowledge Point->Calculation Modules