The Pub Dilemma
Okay ... so it's not really that hard ... I'll put it in a little table to show you how it can be shared.
The Jug sizes are listed across the top and beneath is how many Litres of beer is in each jug after each pouring:
8L Jug 5L Jug 5L Jug 3L Jug 8 0 0 0 3 5 0 0 3 2 0 3 6 2 0 0 6 0 0 2 1 5 0 2 1 4 0 3 0 4 1 3 0 4 4 0