A census taken in 2006 stated that 37,793 people lived in the city ; 18,778 were male and 19,015 were female . The population of DÃ dougou was 37,793 in 2006 ; 18,778 were male and 19,015 were female .