In an isothermal process 30 joule of work is performed by gas, the amount of heat supplied to the gas is