The function f(x) takes a string input and returns a greeting message with the input string. The function can handle multiple input strings and concatenates them in the output.

