Input (grade 6): Saint-R Ã my is a commune in the Ain department in eastern France.
Output (grade 2): Saint-R Ã my is a commune.