
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
Vanya decided to give Masha a bouquet of an odd number of flowers, consisting of yellow and red tulips, so that the count of one color differs from the count of the other by exactly one. Yellow tulips cost 50 rubles each, and red tulips cost 31 rubles each. What is the maximum number of tulips he can buy for Masha's birthday bouquet without spending more than 600 rubles?

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