
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
Mandy has an infinite number of balls and empty boxes available. Each box can now hold five balls and are arrayed in a line. At the start, she places a ball in the first box on the left. At every following step, she places a ball into the first box which can still receive a ball and empties any boxes to its left. Determine the total number of balls in the boxes after Mandy's $5000$th step.

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