
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
12 people attend two separate meetings. At the first meeting, 7 people attend and shake hands with each other. At the next meeting, 5 new people attend along with 2 people from the previous meeting, and everyone shakes hands with each other without anyone from the first meeting shaking hands again. How many total handshakes occur at both meetings?

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