Input (grade 7): Hamilton is a town in South Lanarkshire, in the west-central Lowlands of Scotland.
Output (grade 5): Hamilton is a town in South Lanarkshire, Scotland.