Maintaining the original number of permutations

Maintaining the original number of permutations