
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
At a corporate event, there are 40 people divided into three groups. Group A consists of 15 people who all know each other, Group B has 20 people, out of which 5 know all in Group A and the rest 15 know no one at the event. Group C consists of 5 people who know each other but know no one in Group A or B. Calculate the number of handshakes that occur during the event.

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