In changing the state of a gas adiabatically from an equilibrium state A to another equilibrium state B

In changing the state of a gas adiabatically from an equilibrium state A to another equilibrium state B, an amount of work equal to 22.3 J is done on the system. If the gas is taken from state A to B via a process in which the net heat absorbed by the system is 9.35 cal, how much is the network done by the system in the later case ?