A closed system consists of 4 objects. Initially, object A has 137 J of energy, object B has 158 J of energy, object C has 127 J of energy, and object D has 189 J of energy. After 293 s have passed, object A has 51 J of energy, object B has 27 J of energy, and object C has 13 J of energy. How much energy does object D have?