an output value of 1 whenever three or more of the input variables have the value 1;
otherwise, the output has to be 0.
Fig: 1