Iteration 3 of beer-song task