a,b,c,d and one output x. x is 1 under the following conditions: (a is high) and (at least one other input is high) or (more than two inputs are high) otherwise, x is 0.