7. Decision Problems for Automata and Grammars