Input (grade 7): Ferdinand III, Holy Roman Emperor (1637 - 1657).
Output (grade 7): Ferdinand II, Holy Roman Emperor (1620 - 1637).