In a cyclic process shown in the figure an ideal gas is adiabatically taken firm B to A, the work done on the gas during the process B ⟶ A is 30 J, when the gas is taken from A → B the heat absorbed by the gas is 20 J. The change in internal energy of the gas in the process A ⟶ B is