
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

Marina bought a tour to Banana Country from October 5 to October 22. Importing and exporting bananas across the border is prohibited. At the beginning of each month, the Banana King issues a decree on prices. The price of one banana in local currency for the specified days of October is given in the table below:

| $\text{Date}$ | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| $\text{Price}$ | 1 | 5 | 1 | 6 | 7 | 8 | 1 | 8 | 7 | 2 | 7 | 8 | 1 | 9 | 2 | 8 | 7 | 1 |

Marina wants to eat one banana every day. She only likes green bananas, so she is willing to eat a banana only within 4 days of purchase. For example, a banana bought on October 5 can be eaten on October 5, 6, 7, or 8. Marina can stock up on bananas when they are cheaper.

On which days, and how many bananas should Marina buy to spend as little money as possible?


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