
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
Barbara collects two types of ancient coins, type A and type B. She has 18 coins in total. She finds out that 8 of these coins, which are all of type A, are worth 24 dollars in total. Additionally, she has confirmed that 6 of the type B coins total up to 21 dollars. If Barbara has 12 coins of type A, how much is her entire collection worth?

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