
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 40 ones written on the board. Each minute, Karlson erases two random numbers and writes their sum on the board, then eats an amount of candy equal to the product of the two erased numbers. What is the maximum number of candies he could have eaten in 40 minutes?

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