During the mathematics Olympiad, students solved three problems. Each task was evaluated with an integer number of points from $0$ to $7$. There is at most one problem for each pair of students, for which they got the same number of points. Determine the maximum number of students that could participate in the Olympics.

Let's think step by step and output the final answer within \boxed{}.
user