A diatomic gas (γ = 1.4) does 400 J of work when it is expanded is obarically. The heat given to the gas in the process is ____ J