Input (grade 2): As of the 2000 census the city had 40,366 people.
Output (grade 3): In 2000 the number of people in the city was 40,366.