$${Q = cm\Delta t = 4200\mathrm{\frac{J}{kg \cdot ^\circ C}} \cdot 200\,\text{kg} \cdot (40 \, ^\circ \text C - 20 \, ^\circ \text C) = 16800\, \text{kJ}}$$