A dairy farmer collected 22 gallons of milk from his stock. He prepared jugs for sale, each containing 1 gallon of milk. How many jugs did the farmer prepare?
a) 22
b) 21
c) 23
d) 24