Use NAND gate or XOR gate to form a full adder