The function f(x) reverses the order of the characters in the input word.

