
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
Mr. Li went to a toy store to buy balls. The money he brought was just enough to buy 60 plastic balls. If he didn't buy plastic balls, he could buy exactly 36 glass balls or 45 wooden balls. Mr. Li finally decided to buy 10 plastic balls and 10 glass balls, and used the remaining money to buy wooden balls. How many balls did Mr. Li buy in total?

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