
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
A cashier in a gallery sells tickets to visitors, with the ticket number corresponding to the visitor’s order of arrival for the day. The first visitor receives ticket number 1, the second visitor receives ticket number 2, and so on. During the day, they ran out of yellow paper for tickets and had to continue printing tickets on red paper. By the end of the day, the cashier sold an equal number of yellow and red tickets. It was found that the sum of the numbers on the yellow tickets was 1681 less than the sum of the numbers on the red tickets. How many tickets were sold that day?

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