
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
A warehouse has a certain number of barrels of two types (sizes) with a total capacity of 7000 liters. If all the barrels were of the first type, the total capacity would increase by 1000 liters. If all the barrels were of the second type, the total capacity would decrease by 4000 liters. Calculate the capacity of all barrels of each type separately.

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