Problem: Data Processing
The owners of a corner store do an inventory of what items they have on their shelves after they close their store every day. They have asked you to create a Python program that uses this inventory information to generate a daily report of what needs to be ordered from their suppliers. The store owners will order more of a particular product when there are less than 20 of those items left on their shelves. When they order a product, they order enough to stock a total of 50 of those items on their shelves. For example, if they have 18 bags of Salt & Vinegar chips at the end of the day, they order 50-18 = 32 new bags. They may have many suppliers that offer the same product, so they must choose the supplier that offers the product at the lowest price. If all suppliers offer the product at the same price, any supplier can be selected.
Your Python program will use input data from the following four files: