Two pipes can fill a cistern separately in 24 min and 40 min respectively. Waste pipe is opened which can drain the cistern at 30 liters/minute. If all the pipe are opened together then the cistern fills in one hour. The capacity (in litre) of the cistern is?