According to question,
We can draw a figure ,in which X is to the left of Y, but on the right of O. P is on the right of Y but is on the left of N and M is on the left of Z , who is to the left of O.
From given figure , it is clear that the member X is sitting right in the middle.