I want to write a sentence to mean that any of the following 4 situations are true.
- X = A and Y = A,
- X = B and Y = B,
- X = A and Y = B,
- X = B and Y = A.
The following sentence,
Both are A or B.
means only the first two cases in the list above. In other words,
Both X and Y is A or both X and Y is B.
So, I could write a sentence,
X is A or B and Y is A or B.
Am I right, or is there a better or concise way of writing a sentence for meaning that any of 4 situations are true?
Thank you for any answers.
P.S. Please, edit tags for this question if needed. I am not sure what tags are appropriate for this kind of question.