Input (grade 4): 1822 & ndash; Ulysses S. Grant, Civil War general and 18th President of the United States (d. 1885)
Output (grade 2): 1822 - Ulysses S. Grant, 18th President of the United States (died 1885)