The domain of the function seems to be all words, as it handles all the input words correctly except for "Lena".