Scanning, counting, and sorting banknotes: a "fitness sorter" is used for additional detection and to separate high-quality banknotes from those in poor condition. During this fitness check, the system also identifies issues such as holes, folded corners (dog-ears), tears, adhesive tape, general wear and tear, dirt, stains, etc. The banknotes that pass the check can then be used to replenish ATMs or cash-dispensing machines.