The population of a town increased by 10% in the first year and by 20% in the second year. However, in the third year, it decreased by 25%. If the population at the end of the third year is 49,500, what was the population at the beginning of the first year?