Multiple input AND gate