
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
On the eve of Mother's Day, a certain flower shop purchased a total of 400 carnations and roses for $1020. It is known that the cost price of carnations is $1.2 per stem and the cost price of roses is $3 per stem. Find out how many carnations and roses were purchased.

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