Let $300$ students participate to the Olympiad. Between each $3$ participants there is a pair that are not friends. Hamza enumerates participants in some order and denotes by $x_i$ the number of friends of $i$-th participant. It occurs that $\{x_1,x_2,...,x_{299},x_{300}\} = \{1, 2,..., N - 1,N\}$ Find the biggest possible value for $N$.