
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
In an American firm, each employee is either a Democrat or a Republican. After one Republican decided to become a Democrat, the number of Democrats and Republicans in the firm became equal. Then, three more Republicans decided to become Democrats, and as a result, the number of Democrats became twice the number of Republicans. How many employees are there in this firm?

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