Arbitrary Combination

A factory is like a clockwork, can you make it tick?
Puzzle