The function takes a string input and returns a string output that is a greeting or farewell message.

