You are given two (unmarked) containers of capacity 9 liters and 4 liters, and a huge tank of water.
Need is to get a measure of exactly 6 liters of water.
A move is either filling a container completely or emptying a container (either fully or partly).
The smallest number of moves needed to do this task is