
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
Grain warehouses A and B each originally stored a certain number of full bags of grain. If 90 bags are transferred from warehouse A to warehouse B, the number of bags in warehouse B will be twice the number in warehouse A. If an unspecified number of bags are transferred from warehouse B to warehouse A, the number of bags in warehouse A will be six times the number in warehouse B. What is the minimum number of bags originally stored in warehouse A?

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