8 Litre Container | 5 Litre Container | 3 Litre Container | |
Pour the 8 litres into the 3 litres leaving | 5 | 0 | 3 |
Pour the three into the 5 litre leaving | 5 | 3 | 0 |
Pour the 5 litres into the 3 litres leaving | 2 | 3 | 3 |
Pour the three into the 5 litres leaving | 2 | 5 | 1 |
Pour the five back into the 8 leaving | 7 | 0 | 1 |
Pour the 1 from the 3 to the 5 leaving | 7 | 1 | 0 |
Pour the seven into the 3 leaving | 4 | 1 | 3 |
Pour the one from the 3 into the 5 leaving | 4 | 4 | 0 |