A Carnot engine has an efficiency of $0.700$, and the temperature of its cold reservoir is $378 \mathrm{~K}$. (a) Determine the temperature of its hot reservoir. (b) If $5230 \mathrm{~J}$ of heat is rejected to the cold reservoir, what amount of heat is put into the engine?