Input (grade 4): King William IV (United Kingdom of Great Britain and Ireland)
Output (grade 3): King William IV (United Kingdom)