(not p and not q) or (not q or p)