
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
A line of recruit soldiers was standing facing the sergeant. On the command "left turn," some turned to the left while the rest turned to the right. It turned out that six times as many soldiers were looking at the back of their neighbor's head as were looking at a face. Then, on the command "about turn," everyone turned 180 degrees. Now, seven times as many soldiers were looking at the back of their neighbor's head as were looking at a face. How many soldiers are in the line?

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