Bernhard sold one man 33 gallons of beer (the 18-gallon and 15-gallon barrels) and sold the other man 66 gallons (the 16, 19, and 31 gallon barrels). He kept the 20 gallon barrel of wine.