
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
A basket of apples is divided into two parts, A and B. The ratio of the number of apples in A to the number of apples in B is $27: 25$. Part A has more apples than Part B. If at least 4 apples are taken from A and added to B, then Part B will have more apples than Part A. How many apples are in the basket?

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