A majority function is a Boolean function which takes a number of binary inputs and returns the most common one. This is well defined for an odd number of inputs.