A gas does 50 J of work as it expands adiabatically. Is the change in thermal energy of this gas 50 J, 0 J, or -50 J?