
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
There are two small piles of stones. If 100 stones are taken from the first pile and added to the second pile, then the second pile has double the number of stones as the first pile. Conversely, if some stones are taken from the second pile and added to the first pile, then the first pile has five times the number of stones as the second pile. What is the minimum number of stones in the first pile, and in this case, what is the number of stones in the second pile?

(14th All-Russian Mathematical Olympiad, 1988)

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