Heat, mass, specific heat and temperature difference are related by the equation:
[tex] q = mC [/tex]ΔT
[tex] 87 kJ * \frac{1000 J}{1 kJ} = 587.00 kg * (1\frac{J}{kg.K} ) * (518.4 K - T_{initial})\\
(518.4 K - T_{initial}) = 148.2 K\\
T_{initial} = 370.2 K [/tex]