
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

Three pirates divided the diamonds they acquired during the day in the evening: Bill and Sam each received twelve diamonds, and the rest were given to John, who did not know how to count. During the night, Bill stole one diamond from Sam, Sam stole one diamond from John, and John stole one diamond from Bill. As a result, the average mass of the diamonds Bill had decreased by one carat, Sam’s average mass decreased by two carats, but John’s average mass increased by four carats. How many diamonds did John originally have?

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