A fuel tank is 50% full. If 8 gallons of fuel is removed, then the tank remains 10% full. What is the capacity of the tank in gallons?