Jolie baked some cookies. She threw away~$\dfrac{3}{5}$~of the cookies as they were burnt, and she sold $75 \%$ of the remaining cookies. Given that the number of cookies she burnt was $$42$$ more than the number of cookies she sold, how many cookies did Jolie bake at first? 
Overseas Competition->Knowledge Point->Number Theory Modules->Remainder Problems