HRL Laboratories Interview Question

What does a NAND gate do?