use '?' for JOKER (blank)

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

4 letter words

mays[9], yams[9]