Question 26
A computer programme arranges all six letter words formed from the letters A, P, M, O, P, S in alphabetical order, resulting in the following sequence: AMOPPS, AMOPSP, AMOSPP, AMPOPS, ..., SPPMOA, SPPOAM, SPPOMA. Find the position of POAMSP.