What is the smallest integer value of c such that the function f(x) = (2x^2 + x + 5)/(x^2 - 24x + c) has a domain of all real numbers?