
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
Xiaoming went to the supermarket to buy milk. If he buys fresh milk at 6 yuan per carton, he spends all his money. If he buys yogurt at 9 yuan per carton, he also spends all his money but buys 6 fewer cartons than fresh milk. How much money did Xiaoming bring?

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