Input (grade 7): Personal union with Scotland from 1603 to 1707 (when they were joined together in the Kingdom of Great Britain).
Output (grade 9): Personal union with Great Britain from 1707 to 1801 (when they were joined together in the United Kingdom of Great Britain and Ireland).