
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
The sequence \( x_{n} \) has its first two elements as \( x_{1}=1001 \) and \( x_{2}=1003 \). For \( n \geq 1 \), the recurrence relation is given by:
\[ x_{n+2}=\frac{x_{n+1}-2004}{x_{n}}. \]
What is the sum of the first 2004 terms of the sequence?

Present the answer in LaTex format: \boxed{Your answer}
user