A stop signal, S, is to be generated in a simple copy machine to halt operation and activate an indicator light whenever either of the following conditions is present:
(1) The absence of paper in the feeder tray; or
(2) Activation of the two microswitches in the paper path, indicating a paper jam. The presence of paper in the feeder tray is signaled by a HIGH at logic signal P. Each microswitch generates a logic signal (Q and R) that transitions to HIGH when paper passes over the switch, thereby activating it. Design a combinational circuit that generates a HIGH output signal S under the specified conditions