A container has 400 liters of water, and a second container has 800 liters of water. The first container begins filling up at a rate of 4 liters per minute at the same time the second starts draining at a rate of 6 liters per minute. How many minutes will pass until the containers have the same amount of water?