8. (5 points) Fill the five numbers $2015, 2016, 2017, 2018, 2019$ into the five squares labeled “$D, O, G, C, W$” in the figure, such that $D+O+G=C+O+W$. The total number of different ways to do this is $\qquad$.
【Solution】Solution: According to the analysis, $D+G=C+W$, then $O$ can be filled with 2015, 2017, 2019,
(1) When $O$ is filled with 2015, $2016, 2017, 2018, 2019$ in $D, G, C, W$ have: $4 \times 1 \times 2 \times 1=8$ ways to fill;
(2) When $O$ is filled with 2017, $2015, 2016, 2018, 2019$ in $D, G, C, W$ have: $4 \times 1 \times 2 \times 1=8$ ways to fill;
(3) When $O$ is filled with 2019, $2015, 2016, 2017, 2018$ in $D, G, C, W$ have: $4 \times 1 \times 2 \times 1=8$

ways to fill.
In summary, there are $8+8+8=24$ different ways to fill.
Therefore, the answer is 24.