
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
Select 3 doctors from 5 male doctors and 4 female doctors to form a medical team, with the requirement that the team must include both male and female doctors. Calculate the total number of different team combinations that meet this criterion.

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