The population of a town decreases by 4% annually from the number at the end of the previous year. Calculate after how many years it will take the population to reach 21578 if the population had 38756 inhabitants during previous year.

38756 * .96^n = 21578