Input (grade 12): Mérida () is the capital of the autonomous community of Extremadura, Spain.
Output (grade 12): Mérida is the capital of Extremadura, an autonomous community in the Badajoz province, Spain.