Input (grade 9): It is one of twelve secondary schools run by the Aberdeen City Council educational department.
Output (grade 9): Aberdeen Grammar School is one of the twelve secondary schools run by the government in the City of Aberdeen, Scotland.