Input (grade 4): David I of Scotland, former King of Scotland
Output (grade 3): David II of Scotland, the former King of Scotland