GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
12 1 7 1 2 3 1 6 5 4 7 # the list [ (1,2,3)(4,6) ] of permutations on 7 points