Input (grade 7): 1742 & ndash; Charles VII Albert becomes Holy Roman Emperor.
Output (grade 5): 1458 - Matthias I Corvinus becomes king of Hungary.