Problem 19: Solution--iterate over the months.