Words with Letters subproblem