The function takes a string input and outputs a greeting in response.

