Two pipes A and B can fill a water tank in 20 minutes and 24 minutes, respectively, and the third pipe C can empty at the rate of 3 gallons per minute. If A, B and C opened together, fill the tank in 15 minutes the capacity (in gallons) of the tank is