
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
A certain school holds a men's table tennis team competition. The final match adopts a points system. The two teams in the final play three matches in sequence, with the first two matches being men's singles matches and the third match being a men's doubles match. Each participating player can only play in one match in the final. A team that has entered the final has a total of five team members. Now, the team needs to submit the lineup for the final, that is, the list of players for the three matches.  
$(I)$ How many different lineups are there in total?  
$(II)$ If player $A$ cannot participate in the men's doubles match due to technical reasons, how many different lineups are there in total?

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