Input (grade 10): John of Aviz is crowned King John I of Portugal, ending Queen Beatrice's rule, and Portugal's independence from Castile is secured.
Output (grade 10): John of Aviz is crowned King John I of Portugal, ending Queen Beatrices rule, and Portugals independence from Castile is secured.