
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
During the summer vacation, Xiao Ming wrote some characters at home. On the first day, he wrote 50 fewer characters than half of the total number of characters. On the second day, he wrote 20 fewer characters than half of the remaining number of characters. On the third day, he wrote 10 more characters than half of the remaining number of characters. On the fourth day, he wrote 60 characters, and 40 characters remained to be written to complete the task. How many characters does Xiao Ming have to write in total during the vacation?

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