Input (grade 13): The municipality key consists of eight digits, which are generated as follows: The first two numbers designate the individual German state.
Output (grade 10): The municipality key has eight digits, which are set like this: The first two numbers tell people what the German state is.