A gas tank is 1/5 th full and requires 32 gallons to make it 3/7 full. What is the capacity of the tank?