
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
Each of the natural numbers $1, 2, 3, \ldots, 377$ is painted either red or blue (both colors are present). It is known that the number of red numbers is equal to the smallest red number, and the number of blue numbers is equal to the largest blue number. What is the smallest red number?

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