
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
Unlucky Emelya was given several metal balls. He broke the 3 largest ones (their mass was 35% of the total mass of all the balls), then lost the 3 smallest ones, and brought home the remaining balls (their mass was \( \frac{8}{13} \) of the unbroken ones). How many balls was Emelya given?

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