A certain town had a population of 25,000 people at the beginning of the year. Over the next 6 months, the town's population grew by 3% each month. However, in the following 6 months, the population decreased by 1% each month. What is the town's population at the end of the year? Let's think step by step and output the final answer within \boxed{}.
user