Ignatio, if 107 people bought pints and 92 bought just pints, then 15 must have bought both. Those 15 are also counted in the 132 who bought gallons, so 117 bought just gallons. 48 bought nothing.
117 just gallons
92 just pints
15 both
48 none
272 people shopped.
Hope this helps!