IMO 1979 LL ROM57

Let M be a set, and A, B, C given subsets of M. Find a

IMO 1979 LL ROM57

Origin: ROM

Problem

Let M be a set, and A, B, C given subsets of M. Find a necessary and sufficient condition for the existence of a set X \subsetM for which (X \cupA) \ (X \capB) = C. Describe all such sets X.