Input (grade 12): Granada is a city and the capital of the province of Granada, in the autonomous community of Andalusia, Spain.
Output (grade 8): Granada is a Spanish city, capital of the province of Granada, in Andalusia.