commit Permutations and PermutationsII