The median age in the city was 39.4 years. 24.2% of residents were under the age of 18; 8.1% were between the ages of 18 and 24; 24.7% were from 25 to 44; 28.4% were from 45 to 64; and 14.6% were 65 years of age or older. The gender makeup of the city was 49.0% male and 51.0% female.. What was the percentage of the gender that made up the highest percentage of the population of the city?