A was acceptable to W but not to Z.
B was acceptable to Y but not to X.
C was acceptable to W and Y.
D was acceptable to W and X.
When candidate B was preferred by W and Z, candidate C was preferred by X and Z, and candidate A was acceptable to X but not to Y; who got the ticket?