Input (grade 13): Portuguese territories eventually included the modern nations of Cape Verde, São Tomé and Príncipe, Guinea-Bissau, Angola, and Mozambique.
Output (grade 9): The next year, Portugal allowed its colonies in Africa to be on their own: Mozambique, Angola, Guinea-Bissau, Cape Verde and São Tomé and Príncipe.