 In the city, the population was spread out, with 26.4% under the age of 18, 4.6% from 18 to 24, 31.0% from 25 to 44, 17.2% from 45 to 64, and 20.7% who were 65 years of age or older.The median age was 40 years.For every 100 females, there were 97.7 males.