
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
Warehouse A and Warehouse B have 20 and 6 machines respectively. Now, it is planned to transport 10 machines to Factory A and 16 machines to Factory B. It is known that the transportation cost from Warehouse A to Factory A is 400 yuan per machine, and to Factory B is 800 yuan per machine; from Warehouse B to Factory A is 300 yuan per machine, and to Factory B is 500 yuan per machine. If the total transportation cost is 16,000 yuan, how many machines are transported from Warehouse A to Factory A and from Warehouse B to Factory B respectively?

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