Fill the container with colored balls, at each level the amount is stated, less than which you cannot throw. Pull the pins out in the correct sequence so that the balls fall freely into the glass. If there are gray balls, mix them with colored balls to throw them together.