 In the city, the population was spread out with 27.7% under the age of 18, 4.0% from 18 to 24, 24.5% from 25 to 44, 25.3% from 45 to 64, and 18.5% who were 65 years of age or older.The median age was 40 years.For every 100 females, there were 84.4 males.