Question 3
Let $x_{1}, \ldots, x_{100}$ be nonnegative real numbers such that $x_{i}+x_{i+1}+x_{i+2} \leq 1$ for all $i=1, \ldots, 100$ (we put $x_{101}=x_{1}, x_{102}=x_{2}$ ). Find the maximal possible value of the sum
$$
S=\sum_{i=1}^{100} x_{i} x_{i+2}
$$
$$
S=\sum_{i=1}^{100} x_{i} x_{i+2}
$$