
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 collected during the day: Bill and Sam got twelve each, and the rest went to John, who did not know how to count. At 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 Bill's diamonds decreased by one carat, the average mass of Sam's diamonds decreased by two carats, but the average mass of John's diamonds increased by four carats. How many diamonds did John receive?

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