input: [Char.] 2 [Pattern b s b s b s b s b] n n w w n n n n w [Char._3] E [Char._6] Q [Pattern b s b s b s b s b_7] n n n n n n w w w [Char._9] SP [Pattern b s b s b s b s b_10] n w w n n n w n n [Pattern b s b s b s b s b_4] 
output: w n n n w w n n n