# Task 4. (12 points)

Consider the sequence of numbers $x_{1}, x_{2}, \ldots, x_{2015}$. In this case,

$$
x_{n}= \begin{cases}7, & \text { if } n \text { is divisible by } 9 \text { and } 32 ; \\ 9, & \text { if } n \text { is divisible by } 7 \text { and } 32 ; \\ 32, & \text { if } n \text { is divisible by } 7 \text { and } 9 ; \\ 0, & \text { in all other cases. }\end{cases}
$$

Find the sum of all terms of this sequence.