Input (grade 9): Aberdeenshire borders Angus and Perth and Kinross to the south, and the Highland council area and Moray to the west.
Output (grade 8): Aberdeenshire borders Angus and Perth and Kinross to the south, and Highland and Moray to the west.