input: [Char.] 5 [Pattern b s b s b s b s b] w n n w w n n n n [Char._3] H [Char._6] T [Pattern b s b s b s b s b_7] n n n n w n w w n [Char._9] / [Pattern b s b s b s b s b_10] n w n w n n n w n [Pattern b s b s b s b s b_4] 
output: w n n n n w w n n