
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
In the arithmetic sequence $\{a_{n}\}$, $\frac{a_{1010}}{a_{1009}} < -1$. If its first $n$ terms' sum $S_{n}$ has a maximum value, then the maximum positive integer value of $n$ that makes $S_{n} > 0$ is $\_\_\_\_\_\_\_\_\_\_.$

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