A laboratory animal exercised on a treadmill that was connected to a weight with a mass of 256 g through a pulley. The work done by the animal raised the weight through 1.22 m. At the same time the animal gave off 7.8 J of energy as heat. Disregarding any other losses and treating the animal as a closed system, what was the change in internal energy of the animal?