You're correct, and that is exactly the problem you have to solve: Can you solve toward both words at once? My advice is not to underestimate the usefulness of a gray letter.
It was my first game jam, and I had fun making what I hope to look back on in a few years as something not anywhere near the level of what I'll be doing then.