The function implemented by f(x) reverses the input string.
