The function f(x) reverses the input string.
