distinct permutations of %7B1%2C 2%2C 2%2C 3%2C 3%2C 3%7D