Question 19Given that $n$ is a positive integer and $S=1+2+3+\cdots+n$, the units digit of $S$ cannot be some numbers. Find the sum of these numbers.