Input Signal Counter using relays.
This circuit determines the output according to the number of input ON signals.
Since the results from 0 to n are lined up regularly, it can be used as a conditional circuit for rounding, odd-even number determination, and life game.