Input (grade 10): Coimbra is a city in the municipality of Coimbra in Portugal.
Output (grade 4): Coimbra is a city in Portugal.