Input (grade 6): Beaupuy is a commune in the Gers department in south-western France.
Output (grade 4): Beaupuy is a commune of the Gers department.