Take a deck of cards, cut it in three, and rearrange the three packs in any order (for instance, the middle goes on top, the top in the middle, and the bottom stays). Repeat as many times as you want with different (and possibly uneven) cuts. What permutations can you generate?
Motivation: given a set of symmetric matrices, the trace of their product does not change if they are subject to a permutation generated in the way above.