Input (grade 5): Llívia is a town of Cerdanya, province of Girona, Catalonia, Spain.
Output (grade 4): It belongs to Cerdanya, province of Girona.