Input (grade 8): Italy purchased the city in 1905 and made Mogadishu the capital of Italian Somaliland.
Output (grade 5): Italy bought the city in 1905. They made Mogadiscio (Italian for Mogadishu) the capital of Italian Somaliland.