
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
Vasya constructed a robot, but due to some programming mistake, the robot makes random movements, which still somehow lead it to the target point.

A move is a shift of one kilometer either north (N), east (E), south (S), or west (W).

The robot reached its target in 22 moves represented by the sequence:

EENENNWNENESEEEEESSSWN.

How many moves would the robot need if it did not make any unnecessary movements?

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