The container that holds the water for the football team is 16 full. After pouring in 11 gallons of water, it is 23 full. How many gallons can the container hold?