
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
A store sells three types of products, A, B, and C, with prices of 2 yuan, 3 yuan, and 5 yuan per item, respectively. A person bought some quantity of these three products, paying a total of 20 yuan. They discovered that they had bought too many of one type of product and returned two items of that product. However, the cashier only had 10 yuan notes and no change, so the person adjusted the quantities of the other two products (while ensuring every product was bought at least once) to keep the total cost the same. Determine the quantity of product B that the person finally bought.

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