Input (grade 4): Mohammed II succeeds Hisham II as Caliph of Cordoba.
Output (grade 7): Unification of Georgia under king Bagrat III.