The function works for all input words, but it does not handle properly words that contain non-letters (such as "The Grapes of Wrath").

Now that you have this information, you can use it to write a description of the function and its domain. Remember to include the corruption in the domain, if any.