A heat engine uses a large insulated tank of ice water as its cold reservoir. In 100 cycles the engine takes in $8000 \mathrm{~J}$ of heat energy from the hot reservoir and the rejected heat melts $0.0180 \mathrm{~kg}$ of ice in the tank. During these 100 cycles, how much work is performed by the engine?