The function f(x) performs a character substitution, replacing each letter of the input string with a corresponding letter.

