The group of permutations on is generated by simple transpositions . The length of a permutation is defined to be the minimum number of generators whose product is . It is well-known that the longest element in has length . Let be the semigroup of functions , which are generated by the simple transpositions and the function given by and for . The length of a function is defined to be the minimum number of these generators whose product is . In this talk, we study the length of longest elements in . We also find a connection with the Slater index of a tournament of the
complete graph . This is joint work with Yasuhide Numata.