Input (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).
Output (grade 10): Personal union with the Kingdom of Great Britain from 1707 to 1800 when the two kingdoms were merged into the United Kingdom of Great Britain and Ireland.