
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

Consider points arranged in a square of 20 columns and 20 rows, each colored either red or blue. Every time two points of the same color are adjacent in any row or column, they are connected by a segment of that same color. Adjacent points of different colors are connected by black segments. Among the points, there are 219 red ones, 39 of which are on the boundary of the square but none in the corners. There are also 237 black segments. How many blue segments are there?

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