A saw, fan, and lube pump all go on when a start button is pressed. Pressing a stop button immediately stops the saw but allows the fan to continue operating. The fan is to run for an additional 5 seconds after shutdown of the saw. If the saw has operated for more than 20 seconds, the fan should remain on until reset by a separate fan reset button. If the saw has operated less than 20 seconds, the lube pump should go off when the saw is turned off. However, if the saw has operated for more than 20 seconds, the lube pump should remain on for an additional 10 seconds after the saw is turned off. Write a program that will implement this process.