The function f(x) is a substitution cipher that replaces each letter in the input string with a letter a fixed number of positions down the alphabet. For example, the input string "apple" becomes the output string "zppli" because the letter "a" is replaced by the letter "z" (which is 26 positions down the alphabet).

Here is some sample code that approximates the behavior of the function:
