There are twice as many liters of water in one container as in another. If 8 liters of water are removed from each of the two containers, there will be three times as many liters of water in one container as in the other. How many liters of water did the smaller container have to begin with?