The function `f(x)` returns a modified version of the input string.
