
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 for her birthday, consisting of yellow and red tulips, so that the number of flowers of one color differs from the number of flowers of the other color by exactly one. Yellow tulips cost 50 rubles each, and red ones cost 31 rubles. What is the maximum number of tulips in the bouquet that Vanya can buy for Masha's birthday, spending no more than 600 rubles?

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