Question 9Let $S=\{1,2,\ldots,50\}$. A three-element subset $\{a,b,c\}$ is good if $a+b+c$ is divisible by $3$. Find the number of good three-element subsets of $S$.