
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
During the "September Double Ninth Festival" activity, a student volunteer group from Xuecheng Middle School bought a batch of milk to comfort the elderly in a nursing home. If they give 2 boxes of milk to each elderly person, there will be 16 boxes left; if they give 4 boxes of milk to each elderly person, there will be a shortage of 12 boxes of milk. How many elderly people are there in the nursing home, and how many boxes of milk were prepared?

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