
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
Aunt Masha decided to bake a cake. She made a dough that, according to the recipe, includes flour, butter, and sugar in the weight ratio $3:2:1$. She also mixed butter with sugar for the cream in the proportion $2:3$. Changing her mind about baking the cake, she combined both mixtures, added 300 g of flour, and prepared dough for cookies where flour, butter, and sugar are in the ratio 5:3:2. How much flour did Aunt Masha use in total? Provide the answer in grams.

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