Consider the following data, which contains 18 rows of ages, year, population and state information. Write a program to find the total number of population of each year and age of all states. The output results should be display in a two-dimentional array style, with rows indicating the year and columns indicating ages and population.