Find the sum of all integral values of c with c <= 25 for which the equation y = x^2 - 17x - c has two rational roots.

The answer is 22.