 In the city the population was spread out with 21.2% under the age of 18, 9.1% from 18 to 24, 27.1% from 25 to 44, 23.7% from 45 to 64, and 18.9% who were 65 years of age or older.The median age was 40 years.For every 100 females, there were 87.6 males.