Permutations II (duplicates).