Find the sum of all numbers $$n$$ such that there can be $$n$$ points of inflection on the graph of a polynomial of degree 7.