An ideal gas system undergoes an adiabatic process in which it expands and does 20 J of work on its environment. How much energy is transferred to the system as heat?