It is both .
Fill the 4 gal bucket and empty it into the 7 gal bucket. Fill the 4 gal bucket and then fill the 7 gal bucket from the 4 gal. This leaves 1 Gallon in the 4 gallon bucket. Empty the 7 gallon bucket and pour the gallon from the 4 gal lbucket into it. Fill the 4 gal bucket and pour it into the 7 gal bucket. You then have 5 gallons in the 7 gallon bucket.
no 1 gal= 8 pints 1/2 gal = 4 pints
no 8 1 gal= 8 pints 1/2 gal = 4 pints
20 pints 1 gal= 8 pints 1/2 gal = 4 pints
52 pints 1 gal= 8 pints 1/2 gal = 4 pints
no 1 gal= 8 pints 1/2 gal = 4 pints
no 1 gal= 8 pints 1/2 gal = 4 pints
no 1 gal= 8 pints 1/2 gal = 4 pints
16 1 gal= 8 pints 1/2 gal = 4 pints
no 1 gal= 8 pints 1/2 gal = 4 pints
no 2 gal 1 gal = 8 pints
four pints