A cylindrical tank is 12 full. When 6 quarts are added, the tank is 23 full. The capacity of the tank, in quarts, is