The function f(x) takes a string input and returns a greeting based on the input. If multiple inputs are given, the function concatenates the inputs and returns the resulting string.

