
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
(2013•Chongqing) From a group consisting of 3 orthopedic doctors, 4 neurosurgeons, and 5 internists, 5 individuals are to be selected to form a medical team for earthquake relief. To determine the number of ways to form the team such that there is at least 1 doctor from each specialty (orthopedic, neurosurgery, and internal medicine), we calculate as follows:

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