truth table (not p and not q and r) or (p and not q and not r) or (not p and q and not r)