
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
Eight of the world's top tennis players are divided into two groups at the Shanghai Masters. Each group consists of four players who play a round-robin tournament. The top two players from each group advance, with the first-place player from one group playing the second-place player from the other group in an elimination match. The winners compete for the championship and runner-up positions, while the losers compete for third and fourth place. How many matches are there in total at the Masters?

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