not((A or B or C) xor ((A and B) or C))