The function f(x) takes a string x as input and outputs a modified version of x. Each character in x is shifted by a fixed number of positions in the alphabetical order.

