Rules
Sort the balls by color. Lift same-colored balls from the top of a stack. Drop them on top of a ball with the same color, or into an empty stack. Every stack must contain all the balls of one color, or be empty.