In the city, the age distribution of the population shows 23.5% under the age of 18, 6.2% from 18 to 24, 25.6% from 25 to 44, 22.6% from 45 to 64, and 22.1% who were 65 years of age or older. The median age was 41 years, well above the national average of 35.3—possibly due to the presence of several retirement communities. For every 100 females, there were 93.6 males. For every 100 females age 18 and over, there were 89.6 males.