Hats

Find all the possibilities, for each person, to wear a hat of a different color.[br][br]Move the hates on the heads, and keep track of possibilities to complete the list.[br]Check the "automatic" box to get the answer.

Information: Hats