Find the sum of all integral values of c with c≤25 for which the equation y=x2−7x−c has two rational roots.
The sum of all possible values of c is 49.