Digital Circuits/NAND gate

Truth Table

A B Q
0 0 1
0 1 1
1 0 1
1 1 0

Use