A fruit shop sells apples in boxes of three sizes: small boxes of $$5$$ apples, medium boxes of $$7$$ apples, and large boxes of $$10$$ apples. Ryan wants to buy exactly $$54$$ apples for his students. If Ryan does not want to waste any apples, what is the smallest number of boxes he can buy? 
Overseas Competition->Knowledge Point->Word Problem Modules->Applying Addition and Subtraction->Problems Involving Extreme Value