The function f(x) takes a string input and returns a greeting message. It also concatenates multiple input strings when called with multiple arguments.

