Homework for the 'Formal Languages, Grammars, and Automata' course