
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
People at a social event total 40, where 25 know each other and 15 do not know anyone. Those who know each other hug, while those who do not know each other shake hands. Calculate the number of handshakes that occur.

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