Allow words shorter than the pattern
Throw out words with the letter Y
Ending with S
Sort by length