use '?' for JOKER (blank)

From letters A, G, A, M, A, S  I made following words

6 letter words

agamas[9]