Input (grade 10): It was the then colony's capital until 1753 and has been the national capital continuously since 1852.
Output (grade 4): São Tomé was the colony's capital until 1753. It has been the national capital since 1852.