The function takes a string input and returns a pre-defined greeting message based on the input. It handles a limited set of inputs and returns an error message for invalid inputs.

