Input (grade 8): Sainte-Agn Ã s is a commune in the Alpes-Maritimes department in southeastern France.
Output (grade 6): Sainte-Agn Ã s, Alpes-Maritimes is a commune.