
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
Teacher Xixi and teacher Shanshan are teachers in the senior and junior classes of a kindergarten, respectively. Teacher Xixi prepared a large bag of apples to distribute to her students, giving exactly 3 apples to each child; teacher Shanshan prepared a large bag of oranges to distribute to her students, giving exactly 5 oranges to each child. However, they mistakenly took each other's bags. In the end, teacher Xixi distributed 3 oranges to each child, but was short of 12 oranges; teacher Shanshan distributed 6 apples to each child, using up all the apples. How many apples did teacher Xixi prepare?

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