The domain of the function is all words that can be replaced by the letters of "Adam".

Please let me know if you would like me to run additional tests or if you have any further questions.