The function f(x) takes a string input and returns a string output that is related to the input in some way, based on a dictionary or mapping of some sort.

