Input (grade 4): 1843 & ndash; William McKinley, 25th President of the United States (d. 1901)
Output (grade 5): 1843 - William McKinley, 25th President of the United States (d. 1901)