
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
There are 25 goblins and 18 elves at the Annual Forest Gathering. The elves, having a pact of non-interaction among themselves, do not shake hands with each other but do shake hands with every goblin. The goblins are sociable and shake hands with each other as well as with all the elves. Each pair of creatures shakes hands at most once. How many handshakes occur at this gathering?

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