The population of a certain country is known to increase at a rate proportional to the number of people presently living in the country. If after two years the population has doubled, and after three years the population is 20000, estimate the number of people initially living in the country.