8,9 [Examples and counterexamples. Constructions]

Ten football teams each played against each other once. As a result, each team ended up with exactly $x$ points.

What is the greatest possible value of $x$? (Win - 3 points, draw - 1 point, loss - 0.)

#