An ideal gas is enclosed in a piston, and 1600 J of work is done on the gas. As this happens, the internal energy of the gas increases by only 500 J. During this process, how much heat flows into or out of the ideal gas? Enter a positive number to indicate a heat flow into the gas or a negative number to indicate a heat flow out of the gas.