
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
During a break between voyages, a sailor turned 20 years old. All six crew members gathered in the cabin to celebrate. "I am twice the age of the cabin boy and 6 years older than the engineer," said the helmsman. "And I am as much older than the cabin boy as I am younger than the engineer," noted the boatswain. "In addition, I am 4 years older than the sailor." "The average age of the crew is 28 years," reported the captain. How old is the captain?

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