input: [Char.] 7 [Pattern b s b s b s b s b] n n n w n n w n w [Char._3] J [Char._6] V [Pattern b s b s b s b s b_7] n w w n n n n n w [Char._9] % [Pattern b s b s b s b s b_10] n n n w n w n w n [Pattern b s b s b s b s b_4] 
output: n n n n w w w n n