The function f(x) takes a string input and returns a greeting message. It is able to recognize different greetings and respond accordingly. It can also take multiple input strings and concatenate them in some way.

