A given system has four sensors that can produce an output of 0 or 1. The system operates properly when exactly one of the sensors has its output equal to 1. An alarm must be raised when two or more sensors have the output equals to 1. Design the simplest circuit that can be used to raise the alarm. Give the cost of the circuit.