
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
Given that a high school is allocated 5 recommendation spots, including 2 for Russian, 2 for Japanese, and 1 for Spanish, with the conditions that both the Japanese and Russian exams must have male participants, and the school selects 3 males and 2 females as the recommended candidates, calculate the total number of different recommendation plans.

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