A sample of an ideal gas in taken through the cyclic process abca as shown in figure. The change in the internal energy of the gas along the path ca is −180 J. The gas absorbs 250 J of heat along the path ab and 60 J along the path bc. The work done by the gas along the abc is