HRL Laboratories interview question

What does a NAND gate do?