
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
There are 50 students (rabbits and spiders) attending a dance training camp. Half of the rabbit students leave, and the number of spider students doubles. The teacher finds that the total number of legs has neither increased nor decreased. How many rabbits were there originally? (Note: Spiders have 8 legs each)

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