
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 and B each have a certain number of playing cards. A says: "If I give you one card, we will have the same number of cards." B says: "If I give you one card, then you will have twice as many cards as I do." How many cards do they have in total?

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