3 4 input1: -,+; input2: -,+; output: -,+; -,-,-; +,-,+; +,+,-; -,+,+;