
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
In the 2010 early admission exam for minor languages at a certain university, a high school was granted 5 recommendation spots, among which there were 2 for Russian, 2 for Japanese, and 1 for Spanish. Additionally, it was required that both the Japanese and Russian exams must have male participants. If the school selected 3 males and 2 females as the recommended candidates, then the total number of different recommendation plans is $\boxed{24}$.

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