(x == y && x != z) || (x != y && x == z) (x == y || x == z) && (x != y || x != z) (x == y) != (x == z)