1. Given natural numbers $a, b, c$ whose sum is $S$, satisfying $a+b=1014, c-b=497, a>b$. Then the maximum value of $S$ is ( ).
(A) 1511
(B) 2015
(C) 22017
(D) 2018
$\begin{array}{l}\text { I. 1.C. } \\ \text { Given } S=a+b+c=1014+b+497 \text {, and } a>b \\ \Rightarrow 1014=a+b \geqslant b+1+b \\ \Rightarrow b \leqslant 506.6 \Rightarrow b_{\max }=506 \\ \Rightarrow S_{\text {max }}=1014+506+497=2017 .\end{array}$