
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
There are 29 students in a class. It is known that for any pair of students, there is at least one other student (not from the considered pair) who is friends with exactly one person from that pair. What is the minimum number of pairs of friends that can exist in the class?

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