
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
Olya has 5 apples and 7 pears in a black box, and 12 pears in a white box. In one move, Olya can take a fruit from any box without looking and either eat it or move it to the other box. Olya wants the contents of the boxes to be the same. What is the minimum number of moves required to guarantee she can achieve this? The boxes are closed, and she cannot distinguish the fruits by touch.

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