The function takes a string input and returns a greeting based on the input.

