and the truth table of each of the two logic gates