The ideal gas is in contact with a heat reservoir so that it remains at the constant temperature of 100.0 K. The gas is compressed from a volume of 34.0 L to a volume of 15.0 L. Throughout the process the mechanical device pushing the piston to compress the gas is found to use 1.00 kJ of energy. Determine how much heat flows among the heat reservoir and the gas?