Nitrogen gas is confined in a cylinder with a movable piston under a constant pressure of $9.95 \times 10^{4}$ Pa. When $695 \mathrm{J}$ of energy in the form of heat is transferred from the gas to the surroundings, its volume decreases by 1.88 L. What is the change in internal energy of the gas?