REPL for cyclic permutations.