Input (grade 10): These are divided into 17 regions, 80 provinces, 120 cities, 1,511 municipalities, and 42,008 barangays.
Output (grade 9): In the provinces there are cities and municipalities (towns). In these municipalities there are smaller barangays (villages).