Input (grade 13): Large areas were destroyed by earthquakes in 1862 and 1939, but the city grew around a seaport (now relocated to Tema), and later a brewery, expanding into neighbouring towns.
Output (grade 9): Large areas of the city were destroyed by earthquakes in 1862 and 1939, but the city rebuilt around a seaport and later a brewery.