The function f(x) converts numeric strings to their word representations.

