Yes, the OP did list those but he then asked if he could do Y* and Z* instead so I had assumed that he wanted to exclude "YF", "YS", "ZF", "ZS" as well (maybe his business rules only permits those six values so it's nonissue anyway?). But yes, if he didn't intend this, then this wouldn't be an appropriate solution.