How Many Apples Can You Put into the Basket

给一组数, 求怎么装能最多, 最多加起来5000. 因为求最多, 所以肯定先装小的.