
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 supermarket, there are two types of fruit sets. The first type consists of 3 apples and 15 oranges and costs 360 rubles. The second type consists of 20 apples and 5 oranges and costs 500 rubles. The fruits are sold only in sets and cannot be divided. Sergey came to the supermarket and wants to buy an equal number of apples and oranges. What is the minimum amount he will have to spend if leaving without purchasing anything is not an option?

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