Domanda di colloquio di Sears

Design a small system for the problem given on spot.