input: [Char.] 0 [Pattern b s b s b s b s b] n n n w w n w n n [Char._3] C [Char._6] O [Pattern b s b s b s b s b_7] w n n n w n n w n [Char._9] - [Pattern b s b s b s b s b_10] n w n n n n w n w [Pattern b s b s b s b s b_4] 
output: w n w n n w n n n