Input (grade 8): Ain is subdivided into 9 districts, 49 cantons and 501 communes.
Output (grade 4): At first, the Ain had 9 districts, 49 cantons and 501 communes.