Input (grade 5): 823 & ndash; Charles the Bald, Holy Roman Emperor and King of the West Franks (d. 877)
Output (grade 7): 1935 - Samak Sundaravej, former Prime Minister of Thailand (d. 2009)