When a system is taken through the process abc shown in figure, 80 J of heat is absorbed by the system and 30 J of work is done by it. If the system does 10 J of work during the process adc, how much heat flows into it during the process ?