The function f(x) only works for string inputs. It does not work for numerical or other types of inputs.