
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
In a store where all items cost an integer number of rubles, there are two special offers:
1) A customer who buys at least three items simultaneously can choose one item for free, whose cost does not exceed the minimum of the prices of the paid items.
2) A customer who buys exactly one item costing at least $N$ rubles receives a 20% discount on their next purchase (regardless of the number of items).

A customer, visiting this store for the first time, wants to purchase exactly four items with a total cost of 1000 rubles, where the cheapest item costs at least 99 rubles. Determine the maximum $N$ for which the second offer is more advantageous than the first.

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