2. The integer points $(x, y)$ in the first quadrant satisfy $x+y>8$, and $x \leqslant y \leqslant 8$, the number of such integer points $(x, y)$ is $(\quad)$.
A. 16
B. 18
C. 20
D. 24
2. C The integer points that satisfy the condition are within the triangular region formed by the lines $y=-x+8$, $y=x-1$, and $y=9$.

When $x=k(5 \leqslant k \leqslant 8)$, $k \leqslant y \leqslant 8$, $y$ has $9-k$ values.
Therefore, the number of integer points is $\sum_{k=1}^{4} k+\sum_{k=5}^{8}(9-k)=20$.