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 after the same number of points. Determine the maximum number of students could participate in the Olympics.
Problem
Source: 2022 Grand Duchy of Lithuania, MC p2 (Baltic Way TST) https://artofproblemsolving.com/community/c1321893_grand
Tags: combinatorics