1. An apparatus for obtaining a maximum value or a minimum value from N digital input signals, the apparatus comprising: N×W bit processing elements to receive an input of W bits of each of the N digital input signals; W OR operators to receive an input of N operation values output from bit processing elements, and to perform an OR operation, respectively; and W inverters to invert an output value for each of the W OR operators.