2. If the real numbers $x, y, z$ satisfy
$$
\begin{array}{l}
x+2 y+3 z=0, \\
2016 x+2015 y+2014 z=2017,
\end{array}
$$
then $x+y+z=$ ( ).
(A) -1
(B) 0
(C) 1
(D) 2016
2. C.

From equations (1) and (2), we get
$$
\begin{array}{l}
2017=2017(x+y+z) \\
\Rightarrow x+y+z=1 .
\end{array}
$$