We can use the dividers method.
We have 17 buckets and 2 extra spots for the dividers to go.
Thus, there are $\binom{17+2}{2}$ solutions.