1. We all have heard the story. There was once a Soap factory. 2. The owner was faced with a peculiar problem. 3. The machine would sometime leave some boxes unfilled and…