Let S be the set of students who attend chess club, and F be the set of students who attend football club.
Total number of students in the class = 28.
Number of students in chess club, |S| = 16.
Number of students in football club, |F| = 14.
Number of students who attend both clubs, |S ∩ F| = 6.
We need to find the number of students who attend at least one club. Using the principle of inclusion-exclusion:
\[ |S \cup F| = |S| + |F| - |S \cap F| \]
\[ |S \cup F| = 16 + 14 - 6 \]
\[ |S \cup F| = 30 - 6 \]
\[ |S \cup F| = 24 \]
So, 24 students attend at least one club.
To find the number of students who attend neither club, subtract the number of students attending at least one club from the total number of students:
\[ \text{Number of students attending neither club} = \text{Total students} - |S \cup F| \]
\[ \text{Number of students attending neither club} = 28 - 24 \]
\[ \text{Number of students attending neither club} = 4 \]
Therefore, 4 students do not attend any club.
Ответ: 4