For example, item with barcode 123 belongs to non-perishable category, and item with barcode 131313 belongs to perishable category.
Write the following functions:
BONUS Solve the problem for any number of stores (number of stores will be user input) and find the total number of items in each category for all stores.