INPUT NAND GATE