The Deliveryman’s Problem

A puzzle from L. Despiau’s Select Amusements in Philosophy and Mathematics, 1801:

Distribute among 3 persons 21 casks of wine, 7 of them full, 7 of them empty, and 7 of them half full, so that each of them shall have the same quantity of wine, and the same number of casks.

Click for Answer