In this question, we have to use the Calorimetry formula, which is the formula that perfectly correlates the change of temperature, mass and specific heat capacity of a specific substance, the formula is the following:
Q = mcΔT
We have:
m = 250g
c = 4.184 J/g°C
ΔT = 24°C
Now we add these values into the formula:
Q = 250 * 4.184 * 24
Q = 25104 J or 25.1 kJ will be the amount of heat