Suppose a factory has a vat with a sensor that outputs 1 when the vat is empty, a 0 otherwise. The vat also has a pump to empty it, and a control switch to activate the pump. Devise a circuit that turns the pump on when the switch is set to activate the pump and the vat is not empty.