Input (grade 4): May 5 & ndash; King Afonso III of Portugal (d. 1279)
Output (grade 3): May 5 - King Afonso III of Portugal (died 1279)