We had 1000 goats at the beginning of the year 2001 and the no. of goats each year increases by 10% by giving birth (compounded annually). At the end of each year, we double the no. of goats by purchasing the same no. of goats as there is the no. of goats with us at the time. What is the no. of goats at the beginning of 2004?